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.
Re: stop SABnzbd from downloading files into a folder named after the nzb file
It is actually in the trunk, and probably more refined:
https://sabnzbdplus.svn.sourceforge.net ... runk/main/
We don't really offer support for people using the trunk though, as we likely know about most of the issues that need fixed.
It should work fine though, just higher chance of something being broken when you update it for new features.
You want to turn tv sorting in in config>directories and set it to "No folder" for all the episodes to go inside the single folder.
https://sabnzbdplus.svn.sourceforge.net ... runk/main/
We don't really offer support for people using the trunk though, as we likely know about most of the issues that need fixed.
It should work fine though, just higher chance of something being broken when you update it for new features.
You want to turn tv sorting in in config>directories and set it to "No folder" for all the episodes to go inside the single folder.
-
steve51184
Re: stop SABnzbd from downloading files into a folder named after the nzb file
tried that but it puts the episodes in showname/season/show.aviswitch wrote: You want to turn tv sorting in in config>directories and set it to "No folder" for all the episodes to go inside the single folder.
Re: stop SABnzbd from downloading files into a folder named after the nzb file
Oh so you don't want any folders at all? Thought you just wanted episodes to not go inside their own folders.
-
steve51184
Re: stop SABnzbd from downloading files into a folder named after the nzb file
yeah i want no folder at all so i have a folder full of my .avi files no NO sub-folders can this be done?
-
steve51184
Re: stop SABnzbd from downloading files into a folder named after the nzb file
so how can i do this?
all i need is a script making that searches my complete folder for other folder and if it finds them it moves all files from them into my complete folder and remove the original folder
all i need is a script making that searches my complete folder for other folder and if it finds them it moves all files from them into my complete folder and remove the original folder
Re: stop SABnzbd from downloading files into a folder named after the nzb file
You can always make your own postprocessing script... just a basic unix shell script. it's not hard, it just takes some time.
For if you don't know how it works:
http://www.tinker.ncsu.edu/LEGO/shell_help.html
and variables from sabnzbd that you can put in:
http://sabnzbdplus.wiki.sourceforge.net/External+Script
For if you don't know how it works:
http://www.tinker.ncsu.edu/LEGO/shell_help.html
and variables from sabnzbd that you can put in:
http://sabnzbdplus.wiki.sourceforge.net/External+Script
-
steve51184
Re: stop SABnzbd from downloading files into a folder named after the nzb file
i don't have the skill to make it myself 
-
steve51184
Re: stop SABnzbd from downloading files into a folder named after the nzb file
so can i get any help with this or a way to make sabnzbd do it without a script?steve51184 wrote: so how can i do this?
all i need is a script making that searches my complete folder for other folder and if it finds them it moves all files from them into my complete folder and remove the original folder
Re: stop SABnzbd from downloading files into a folder named after the nzb file
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
-
steve51184
Re: stop SABnzbd from downloading files into a folder named after the nzb file
shypike i REALLY REALLY appreciate you making the script but that's for a windows machine and i run linux :\
Re: stop SABnzbd from downloading files into a folder named after the nzb file
Stick this in a file called mover.sh and set the X bit (chmod +x mover.sh).
Test it first! It contains a rather dangerous rm command.
Code: Select all
#!/bin/sh
# Copy all to "complete"
cd $1
cd ..
if cp -R $1/* .
then
rm -rf $1
fi
-
steve51184
-
steve51184
Re: stop SABnzbd from downloading files into a folder named after the nzb file
just tested a file with it and it didn't do anything..
Stage UserScript
[USER-SCRIPT]: => Show script output
Re: stop SABnzbd from downloading files into a folder named after the nzb file
OK, this one's much better.
Also, you need to actually select it for the job.
Or make it the default on Config->switches.
Code: Select all
#!/bin/sh
# Copy all to "complete"
cd "$1"
for x in *
do
echo MOVE "$x" ..
mv "$x" ..
done
echo Remove "$1"
cd ..
rmdir "$1"
Or make it the default on Config->switches.
-
steve51184
Re: stop SABnzbd from downloading files into a folder named after the nzb file
works perfectly thank you VERY VERY much!!!


