Alternatives to -revert
Posted: 16 Aug 2019, 13:48
I unfortunately lost the history file, which, as far as I understand, is the only reference the -revert command uses to restore the file to its original location.
It seems feasible using a command like the following:
provided xattr are correct and available, to move files to a specific folder with the original name, but this seems to work only on files, not folder structures.
Could I use the "{history}" binding (without the file) to rebuild also the folder they were contained in, but in a different absolute path?
Example:
It seems feasible using a command like the following:
Code: Select all
filebot -rename --db xattr --action move --format '{original}'
Could I use the "{history}" binding (without the file) to rebuild also the folder they were contained in, but in a different absolute path?
Example:
Code: Select all
original:
/mnt/A/SeriesName/EpisodeName
renamed:
/mnt/output/{plex}
revert:
/media/B/SeriesName/EpisodeName