Re: Revert Renamed Files to their Original Names
Posted: 30 Mar 2014, 15:09
Hi there,
I use Filebot on a Mac and I am very happy with the tool. Amazing to be honest.
I run it after nzbget is finished downloading stuff, invoked from simple bash shell script.
But I am struggling to capture the new destination folder and I was wondering if there is an easy way to simply call filebot so that it returns nothing but the full path to the last rename action it did of movie file?
I have been trying the history and revert commands (in test mode) but cannot get it to return my last action or any for that matter.
Thanks,
-FF
I use Filebot on a Mac and I am very happy with the tool. Amazing to be honest.
I run it after nzbget is finished downloading stuff, invoked from simple bash shell script.
But I am struggling to capture the new destination folder and I was wondering if there is an easy way to simply call filebot so that it returns nothing but the full path to the last rename action it did of movie file?
I have been trying the history and revert commands (in test mode) but cannot get it to return my last action or any for that matter.
Thanks,
-FF
rednoah wrote:Description:
FileBot keeps an internal history of all rename operations in case you want to revert files to their original names. Run this script on the specified file or folder and revert all files to their original names.
Revert files to their original paths:Options:Code: Select all
filebot -script fn:revert path/to/files
--action define revert operation, e.g. --action move (default) will move files back to their original location whereas --action rename will only change the filename back to the original filename but keep the file in it's current folder. You can run the script in test mode via --action test.
Download Script:
http://filebot.net/scripts/revert.groovy