Auto move files Scripts and Renamer after download from Seedbox via LFTP to Local Windows Machine

This is my general workflow of the script. still working on the srr database as that's all manual excel entry but that's just my ocd cataloging the releases

remote seedbox folder strucutre

~/bin <- scripts and bin folder

~/files/scene <- all scene (archived) releases get downloaded here

~/files/tv <- all scene tv/bluray releases get extrated here to root folder

~/files/movie <- all scene movies get extracted here in releasename folder

local linux system (seedbox for long term retention) folder structure

~/bin <- scripts and bin folder

~/files/tv <- all scene tv bluray releases get extrated here to releasename folder

~/files/movie <- all scene movies get extracted here in releasename folder

~/files/stage/tv <- default lftp transfer folder from seedbox

~/files/stage/movie <- default lftp transfer folder from seedbox

/mnt/Movies <- CIFS export on NAS that has complete collection

/mnt/TV Shows <- CIFS export on NAS that has complete collection

General workflow

autotransfer.sh gets called from rutorrent after torrent completes

auto extracts to location based on content

refreshes rss feed that are P2P extracted content based for matched release

remote ssh call to local linux system to lftp extracted content to local stage folder

validates release and creats .srr from rescene database

remote ssh call to local linux system to use filebot to rename and move file to defined location (TV will auto create seasons) destination being /mnt/*

movies only - will grab matched P2P based (extracted) tracker .torrent file and transfer to local linux system and add torrent in paused state

movies only - will create symbolic links from /mnt/Movies/ to ~/files/movie for long term seeding

send email notification that transfer is complete. attached is .srr file, email content is filebot log showing origial release name and new file name

pushbullet notification sent on transfer comeplete

copy of file is transferd to encrypted Amazon cloud drive for backup (local nas backup to ACD, just saving upload bandwidth, end of month nas sync only for little data)

optional switch (-d) clean up if you dont want to keep extracts files on seedbox

/r/seedboxes Thread Parent