Code: Select all
\#!/bin/bash
/Applications/Filebot.app/Contents/MacOS/filebot.sh -script fn:amc --output "/Volumes/Media/Incomplete/complete" --log-file amc.log --action copy --conflict auto -non-strict --def deleteAfterExtract=y music=y plex=gallo artwork=n subtitles=en clean=y "ut_dir=/Volumes/Media/Incomplete/complete/$TR_TORRENT_NAME" "ut_kind=multi" "ut_title=$TR_TORRENT_NAME" "seriesFormat=/Volumes/Media/TV/{n.replaceTrailingBrackets().sortName()}/Season {s}/{n.replaceTrailingBrackets()} -S{s}E{e.pad(2)} [{vf},{af}]-{t}" "movieFormat=/Volumes/Video/M0vies/{n.sortName()} ({y}) [{certification}] [{vf}-{af}]" "musicFormat=~/Downloads/[{pi.pad(2)}] {artist} -{album}-{t}"
I would like to switch from --action copy to --action link HOWEVER I do understand that LINK will ONLY work on the same /Volume that the original file is on. Therefor I imagine that filebot with a postprocess script can be tweaked to work this way. what I imagine is
TV Series - Movies- Music
Code: Select all
\#!/bin/bash
/Applications/Filebot.app/Contents/MacOS/filebot.sh -script fn:amc --output "/Volumes/A/TV" --log-file amc.log --action LINK --def * "ut_dir=/Volumes/A/Download/$TR_TORRENT_NAME" "ut_kind=mulit" "ut_title=$TR_TORRENT_NAME" "seriesFormat=/Volumes/Media/TV/{n.replaceTrailingBrackets().sortName()}/Season {s}/{n.replaceTrailingBrackets()} -S{s}E{e.pad(2)} [{vf},{af}]-{t}"
--output "/Volumes/B/M0vies" --log-file amc.log --action LINK --def * "ut_dir=/Volumes/A/Download/$TR_TORRENT_NAME" "ut_kind=mulit" "ut_title=$TR_TORRENT_NAME" "movieFormat=/Volumes/Video/M0vies/{n.sortName()} ({y}) [{certification}] [{vf}-{af}]"
--output "~/Torrent" --log-file amc.log --action COPY --def * "ut_dir=/Volumes/A/Download/$TR_TORRENT_NAME" "ut_kind=mulit" "ut_title=$TR_TORRENT_NAME" "musicFormat=~/Download/[{pi.pad(2)}] {artist} -{album}-{t}"
if file is on volume B it is a Movie link and rename within Volume B to folder /M0vies sorted into /M0vies/movie name (year) [rating]/etc and finally files downloaded to my home folder/Torrent is music and sorted into download folder.