cd "$1"
rename *.avi $2
stop SABnzbd from downloading files into a folder named after the nzb file
Forum rules
Help us help you:
Help us help you:
- Are you using the latest stable version of SABnzbd? Downloads page.
- Tell us what system you run SABnzbd on.
- Adhere to the forum rules.
- Do you experience problems during downloading?
Check your connection in Status and Interface settings window.
Use Test Server in Config > Servers.
We will probably ask you to do a test using only basic settings. - Do you experience problems during repair or unpacking?
Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
-
steve51184
Re: stop SABnzbd from downloading files into a folder named after the nzb file
i'm trying to edit the script to rename the .avi file to the same name as the nzb file but i can't get it to work so far i have:
Re: stop SABnzbd from downloading files into a folder named after the nzb file
I suggest that you Google for Unix Shell on the internet.
This is a good starting point: http://www.freeos.com/guides/lsst/
This is a good starting point: http://www.freeos.com/guides/lsst/
-
steve51184
Re: stop SABnzbd from downloading files into a folder named after the nzb file
not really what i was asking :\
Re: stop SABnzbd from downloading files into a folder named after the nzb file
This is not going to work.steve51184 wrote: i'm trying to edit the script to rename the .avi file to the same name as the nzb file but i can't get it to work so far i have:
cd "$1"
rename *.avi $2
What may work is:
Code: Select all
mv *.avi "$3.avi"
-
steve51184
Re: stop SABnzbd from downloading files into a folder named after the nzb file
will give that a try thank you
also that other script sometime doesn't work and will just move all the 15mb rar files into my complete folder
also that other script sometime doesn't work and will just move all the 15mb rar files into my complete folder
Re: stop SABnzbd from downloading files into a folder named after the nzb file
RAR-files ? That means either you did not select the "D" option or the par2 verification failed.
-
steve51184
Re: stop SABnzbd from downloading files into a folder named after the nzb file
the par2 verification failed but can i have the script run only if the job completes 100%?shypike wrote: RAR-files ? That means either you did not select the "D" option or the par2 verification failed.
Re: stop SABnzbd from downloading files into a folder named after the nzb file
That's what the option "Post-process only verified jobs" in Config-Switches is for.
You need to set it to On to prevent further post-processing (including user-scripts) of failed jobs.
The next release will also add the prefix _FAILED_ to the folder of a failed job.
You need to set it to On to prevent further post-processing (including user-scripts) of failed jobs.
The next release will also add the prefix _FAILED_ to the folder of a failed job.
-
steve51184
Re: stop SABnzbd from downloading files into a folder named after the nzb file
thanks just the option i neededshypike wrote: That's what the option "Post-process only verified jobs" in Config-Switches is for.
You need to set it to On to prevent further post-processing (including user-scripts) of failed jobs.
The next release will also add the prefix _FAILED_ to the folder of a failed job.
also it sounds like you guys have a lot planned for sabnzbd is there any topic that lists some of the things you plan to add?
Re: stop SABnzbd from downloading files into a folder named
Does anyone know how to modify this to take advantage of the "move" command in order to save time and temp disk space on large downloads?
Thanks for the original shypike!
Thanks for the original shypike!
shypike wrote:Put this text in a file called mover.cmd and use that as the script.
This is the last time, I'm not a script-writing service.Code: Select all
@echo off rem Copy all to "complete" cd /d %1 xcopy . .. /s/e/y cd .. del /s/q %1 rmdir /s/q %1
Re: stop SABnzbd from downloading files into a folder named
You're a bit behind.
Current releases allow you to add an * to the end of a category path.
This will prevent the creation of a folder per NZB.
Current releases allow you to add an * to the end of a category path.
This will prevent the creation of a folder per NZB.
Re: stop SABnzbd from downloading files into a folder named
Thats what I thought but I kept getting an error every time I tried...shypike wrote:You're a bit behind.
Current releases allow you to add an * to the end of a category path.
This will prevent the creation of a folder per NZB.
One of my paths is "Y:\HDTV". When I try adding an * to make "Y:\HDTV*" I get the error below
<snip>
Incorrect parameter
Cannot create dir folder Y:\HDTV*
</snip>
Re: stop SABnzbd from downloading files into a folder named
You must be using an older version.
It's supported starting at 0.6.4, but we recommend 0.6.9
It's supported starting at 0.6.4, but we recommend 0.6.9
Re: stop SABnzbd from downloading files into a folder named
That's the weirdest thing because I just started using sabnzbd tuesday and started at v0.6.9shypike wrote:You must be using an older version.
It's supported starting at 0.6.4, but we recommend 0.6.9
*edit
I'm using the windows version, is it possible there may be a difference in syntax? Maybe I need to put a space between the path and the *?
Re: stop SABnzbd from downloading files into a folder named
No. In fact there should be no attempt to create the folders when you enter them.
Be aware that the * only works for category paths, including the "Default" category on Config->Categories.
It does not work for the "complete" path as set in Config->Folders.
Be aware that the * only works for category paths, including the "Default" category on Config->Categories.
It does not work for the "complete" path as set in Config->Folders.

