Page 1 of 1

CLI Symlink reverse operation

Posted: 27 Apr 2016, 23:36
by poxin
So I managed to get my deluge execute script working. This is the filebot line for processing:

Code: Select all

filebot -rename "$torrentpath/$torrentname" --format "{n}/Season {s}/{s00e00} - {t}" --db TheTVDB -non-strict --output "/mnt/storage/tvshows" --action symlink
It's working as expected and makes the following for example:

Code: Select all

S03E01 - Show Title.mkv -> ../tvshows/Show.Title.S03E01.720p.mkv
So the original file is still "Show.Title.S03E01.720p.mkv" and the symlink is "S03E01 - Show Title.mkv". Is there a way to reverse this? I'd like to have my renamed file in the library be the actual file, but be symlinked back to the original location for seeding purposes.

Re: CLI Symlink reverse operation

Posted: 28 Apr 2016, 04:23
by rednoah
Yes:

Code: Select all

--action keeplink
If input/output is on the same filesystem, then you want to use hardlinks:

Code: Select all

--action hardlink