Sorting
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.
Sorting
I have gotten catagories set up properly but here is what I am trying to do
I want to make it so that my anime catagory doesn't put each episode in a seperate folder. it really tedious to manage, so i would like it if i could have it sorted so that all of my anime was thrown into 1 folder with all the nfo's, nzb backups and sfv's were deleted, so that only the anime is in there.
i would assume this requires a post processing script, but i don't know how to set it up.
Version: SABnzbd Version: 0.5.4
OS: Linux Mint 10 (ubuntu 10.04)
I would like it if i could have my anime all extracted to
/home/*/downloads/complete/anime
with everything else removed.
I want to make it so that my anime catagory doesn't put each episode in a seperate folder. it really tedious to manage, so i would like it if i could have it sorted so that all of my anime was thrown into 1 folder with all the nfo's, nzb backups and sfv's were deleted, so that only the anime is in there.
i would assume this requires a post processing script, but i don't know how to set it up.
Version: SABnzbd Version: 0.5.4
OS: Linux Mint 10 (ubuntu 10.04)
I would like it if i could have my anime all extracted to
/home/*/downloads/complete/anime
with everything else removed.
Re: Sorting
Have you read this on the category page?
That's what you need and not the Sorting function.Ending the path with an asterisk * will prevent creation of job folders.
Re: Sorting
the asterisk is a wildcard for my user account name.. i censored it. i don't actually want it in there.
/home/user/downloads/complete/anime
/home/user/downloads/complete/anime
Re: Sorting
The behaviour you want is accomplished by using:
/home/user/downloads/complete/anime*
/home/user/downloads/complete/anime*
Re: Sorting
setting my folder/path in catagories to: /home/user/downloads/complete/anime*
just created a folder called anime* and then created a new folder inside of that with the name of whatever i downloaded.
just created a folder called anime* and then created a new folder inside of that with the name of whatever i downloaded.
Re: Sorting
i updated sabnzbd to the latest version and problem solved. thanks for your help.
i would still like a way to be able to delete nfo's backup nzbs and sfv's from only my anime catagory though..
i would still like a way to be able to delete nfo's backup nzbs and sfv's from only my anime catagory though..
Re: Sorting
Use the extension-based clean-up list in Config->General.
Re: Sorting
will that limit it to only effecting specific categories though? or will it do that for everything?
i want the nfo's for everything else, just not my anime category
i want the nfo's for everything else, just not my anime category
Re: Sorting
In that case, use a simple user script for the anime category.
@echo off
cd /d %1
del *.nfo
(More info about scripts: http://wiki.sabnzbd.org/user-scripts )
@echo off
cd /d %1
del *.nfo
(More info about scripts: http://wiki.sabnzbd.org/user-scripts )
Re: Sorting
i got a script working on my desktop but when i put it on my laptop it won't run (its running ubuntu)
it gives me an error
any ideas?
it gives me an error
Code: Select all
Exit(-1) Cannot run script /home/*/.sabnzbd/scripts/animescript
Re: Sorting
So you're not on Windows.
Make sure you set the X bit of the script.
chmod +x script
Code: Select all
#!/bin/sh
cd "$1"
rm *.nfo
chmod +x script
Re: Sorting
both my pc's are running linux mint (ubuntu) and they are both running the same version of sab. they are both using the exact same script, and it works on my desktop, and i did chmod +x on both of them already, but on my laptop it gives me the error
Exit(-1) Cannot run script /home/*/.sabnzbd/scrips/animescript2 (More)
still.
Exit(-1) Cannot run script /home/*/.sabnzbd/scrips/animescript2 (More)
still.
Re: Sorting
Typo? Don't you mean scripTs?risho wrote: Exit(-1) Cannot run script /home/*/.sabnzbd/scrips/animescript2 (More)
still.
Re: Sorting
I typoed the folder when I made it... but it is the right name. the script shows up in the dropdown menu under categories.
Re: Sorting
Can you check in the log file for some more detailed info?

