I'm pretty new at this. Right now I just use mostly defaults and the sabtosickbeard script. I want to copy my media to two different locations so I don't have to stream everything from my Centos server.
I want to write my completed downloads to two (or more) different locations.
For example now I have it /storage/downloads/completed
I want to also save to smb://xxx.xxx.xxx:/downloads/completed
Basically I want to store a local copy on my centos box but also write a duplicate copy of everything to my NAS Server.
Copy all media to two different locations one local one SMB
-
- Newbie
- Posts: 4
- Joined: January 13th, 2012, 7:59 pm
Re: Copy all media to two different locations one local one
I want to know this too! Any help would be HUGELY appreciated!
- Jon
- Jon
Re: Copy all media to two different locations one local one
I THINK I just need a line like this: "copy $1 /mnt/disk1/Media/TV show"
but where can I put that into the sabToSickBeard.py script I use?
Here it is in its original form:
- Thanx!
- Jon
but where can I put that into the sabToSickBeard.py script I use?
Here it is in its original form:
Code: Select all
import sys
import autoProcessTV
if len(sys.argv) < 2:
print "No folder supplied - is this being called from SABnzbd?"
sys.exit()
elif len(sys.argv) >= 3:
autoProcessTV.processEpisode(sys.argv[1], sys.argv[2])
else:
autoProcessTV.processEpisode(sys.argv[1])
- Jon