Hi Guys
First off, I am a total newbie where Linux is concerned, so please go gentle on me.
I am running the holy trinity on unRAID v5.0beta.
I need to know where to find a script (or how to write one) that will move downloaded movies to my media folder when they are finished.
I download to /mnt/disk1/Downloads/complete
I store movies in /mnt/disk1/Media/Movies
also how does this change with user shares?
Can anyone help please???
need help with simple script...
Re: need help with simple script...
This should do it:
mv $1 /mnt/disk1/Media/Movies
call it moviemove.sh, make it executable, put in the script directory, and select it as post-processing for your movie downloads.
HTH
mv $1 /mnt/disk1/Media/Movies
call it moviemove.sh, make it executable, put in the script directory, and select it as post-processing for your movie downloads.
HTH
Re: need help with simple script...
Not sure how to make it executable?
will that move the movie in its folder to the media folder? do i not need anything more complicated to rename the file and strip out all the 'crap'?
will that move the movie in its folder to the media folder? do i not need anything more complicated to rename the file and strip out all the 'crap'?
Re: need help with simple script...
executable=sudo chmod +x moviemove.sh
And it should be mv "$1" "/mnt/disk1/Media/Movies/$1" or else it will error.
But you should not use a script!! You can setup sabnzbd to move movies inside your moviefolders. Go to settings, categorys and set destination at category movies. Now every file you download can be set in that category to be treated as a movie. Also see sorting if you need renamingoptions.
And it should be mv "$1" "/mnt/disk1/Media/Movies/$1" or else it will error.
But you should not use a script!! You can setup sabnzbd to move movies inside your moviefolders. Go to settings, categorys and set destination at category movies. Now every file you download can be set in that category to be treated as a movie. Also see sorting if you need renamingoptions.
-
- Newbie
- Posts: 3
- Joined: January 10th, 2012, 2:09 pm
Re: need help with simple script...
I have been trying to get Sabnzbd to move files after extraction ever since I started using it. Is this something I can do in categories? I don't see an option for Set Destination.You can setup sabnzbd to move movies inside your moviefolders.
Re: need help with simple script...
For movies and tvshows go to Sorting. there you can assign move/rename to categories.