Page 1 of 1
hardlink to multiple locations?
Posted: 04 Feb 2017, 09:00
by omanko
i'm currently using the amc script to sort and process my Downloads folder and hardlink to my cloud storage folder:
Code: Select all
filebot -script fn:amc --output /home/owner/gdrive --action hardlink -non-strict /home/owner/Downloads
is it possible to specific additional hardlink output location on the same line? or would I have to call the filebot script twice?
Re: hardlink to multiple locations?
Posted: 04 Feb 2017, 10:15
by rednoah
Option 1:
Call the amc script twice.
Option 2:
Call the amc script once. Then mirror other locations via --db xattr. I'd pick Option 2 because it's faster and more reliable.
Re: hardlink to multiple locations?
Posted: 04 Feb 2017, 11:57
by omanko
something like this?
Code: Select all
filebot -script fn:amc --output /home/owner/gdrive --db xattr --action hardlink -non-strict /home/owner/Downloads
filebot -script fn:xattr --output /home/owner/newfolder --action hardlink -non-strict /home/owner/Downloads
Re: hardlink to multiple locations?
Posted: 04 Feb 2017, 14:00
by rednoah
Process as usual:
Code: Select all
filebot -script fn:amc --output /Media --action hardlink -non-strict /Downloads
Mirror xattr tagged files to another destination:
Code: Select all
filebot -rename -r /Media --db xattr --action hardlink --output /Mirror --format "{plex}"
Re: hardlink to multiple locations?
Posted: 05 Feb 2017, 10:02
by omanko
cool, works wonders! thanks!