Hi RedNoah,
Is it possible to use the revert script when --action keeplink is used? It seems to only work when there are no symlinks are involved.
Revert when --action keeplink is used?
Re: Revert when --action keeplink is used?
No. FileBot doesn't keep records about what "rename" action was used to process the files, hence it can't reverse it. The revert script assumes that files have been moved from the original location.
What happens if you try? I'd assume if you revert /original/path (link) -> /new/path (file) then it might override the link with the file.
What happens if you try? I'd assume if you revert /original/path (link) -> /new/path (file) then it might override the link with the file.
-
- Donor
- Posts: 15
- Joined: 10 Jun 2015, 21:25
Re: Revert when --action keeplink is used?
When I revert and specify the symlink at the original location, it just completes without any action.
Same thing if I revert the renamed file
That's ok though. I kind of get why it won't work. Thanks for your time.
Code: Select all
filebot -script fn:revert /server/downloads/Last.Week.Tonight.With.John.Oliver.S03E01.720p.HDTV.x264-BATV.mkv
Done ヾ(@⌒ー⌒@)ノ
Code: Select all
filebot -script fn:revert /server/tv\ shows/Last\ Week\ Tonight\ with\ John\ Oliver/Season\ 03/Last\ Week\ Tonight\ with\ John\ Oliver\ -\ 3x01\ -\ Episode\ 60.mkv
Done ヾ(@⌒ー⌒@)ノ
Re: Revert when --action keeplink is used?
r3669 correctly reverts for all rename actions. There is also a new filebot -revert /path command which uses that revert behaviour.
The fn:revert script will not be changed, since being able to force how files are reverted (move/copy/symlink back) has some use cases.
The fn:revert script will not be changed, since being able to force how files are reverted (move/copy/symlink back) has some use cases.