Search found 4 matches

by mfacer
March 25th, 2011, 6:10 pm
Forum: Post-Processing Scripts
Topic: simple script to move files after processing
Replies: 39
Views: 72965

Re: simple script to move files after processing

I currently use this script on a OSX Mac. #!/bin/bash if [ "$5" = "movies" ]; then  mv -fv "$1" "/Volumes/External HD/Media/Movies" elif [ "$5" = "tv" ]; then  mv -fv "$1" "/Volumes/External HD/Media/TV" fi Note that yo...
by mfacer
September 12th, 2010, 9:13 am
Forum: Post-Processing Scripts
Topic: simple script to move files after processing
Replies: 39
Views: 72965

Re: simple script to move files after processing

Thanks guys.... I added the script, but when it tried to process, I got the following error. Cannot run script /var/spool/sabnzbd/incoming/scripts/sort.sh But there are no other error messages. Any idea what's up? here's the code I have used #!/bin/bash if [ "$5" = "movies" ]; th...
by mfacer
September 10th, 2010, 5:48 am
Forum: Post-Processing Scripts
Topic: simple script to move files after processing
Replies: 39
Views: 72965

Re: simple script to move files after processing

Thanks for that - looks perfect. Do I just make the changes (eg target dirs) then save?
What do I save it as... and then I assume I just point the post processing field in SABNZBD to that file?

thanks very much
by mfacer
September 9th, 2010, 4:09 pm
Forum: Post-Processing Scripts
Topic: simple script to move files after processing
Replies: 39
Views: 72965

simple script to move files after processing

I've been looking around at the scripts available on the forum, but they all look a little too advanced! My files are downloaded to /incoming then based on the category I assign then are put in to a folder, for example incoming/tv or incoming/movie etc. I then want to run a script to take the catego...