Created
December 15, 2012 01:27
-
-
Save anonymous/4290325 to your computer and use it in GitHub Desktop.
SabNZBd script to duplicate TV show downloads from a processing folder (for Sickbeard) in to a "latest episodes" folder. I was getting permissions errors when viewed across samba shares so I've rechowned it and rechmodded it for good measure.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
cp -r "$1" "/home/david/usenet/tv/$3" | |
chown -R david "/home/david/usenet/tv/$3" | |
chmod -R 777 "/home/david/usenet/tv/$3" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment