2. Use filebot to organize newly synced files into new structure (using hardlinks)
3. Repeat over night every other day
Code: Select all
#/bin/sh
echo $(date) >> /volume1/scripts/sync.log
rsync -a -v --progress --partial --human-readable -e 'ssh -T -o Compression=no -i /volume1/scripts/SSH_KEY_FILE' username@server:/home/username/files/complete /volume1/sync/ --log-file /volume1/scripts/sync.log
filebot -script fn:amc --output "/volume1/Media" --action duplicate -non-strict "/volume1/sync" --def excludeList=/volume1/scripts/amc.excludes unsorted=y --log-file /volume1/scripts/sync.log