Archiving

Come up with a useful post-processing script? Share it here!
Post Reply
secs
Newbie
Newbie
Posts: 1
Joined: July 15th, 2013, 10:29 pm

Archiving

Post by secs »

I will be upfront. I can program in Delphi for Windows but Linux I am still learning. I need a hand with a script.

Issue:
I run SABNZB on a remote seedbox. I obviously then need to transfer files back to local and thats where my issue is. Where I live I have a slow connection. Transfers can take hours and for real large stuff, days. If I dont check manualy, its possible to run file bot across directories of media that hasnt completely transfered.

My solution:

I have read the scripting stuff and know that SABNZB passes directory info in the post processing scripts. I have my root complete directory with TV MOVIE MUSIC under that. I am hoping someone can give me a script that when a download is finished and unpacked, I can call TAR or GZIP (whichever is appropiate) to put all the files and directories into one file and then delete the originals.

I use BTSync to transfer back local where once in, I can reverse the process and call file bot.

Thoughts anyone?
Post Reply