Hi
Can some one tell me if its possible to run a script for deleting any .sfv, .nfo's etc for a specific category?
I'm not really sure where to start looking, I've had a quick look in the config and can see where I can do this for all downloads but thats not really what I want!
Cheers
A little help! -- need a script for deleting any .sfv, .nfo's etc for a category
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.
A little help! -- need a script for deleting any .sfv, .nfo's etc for a category
Last edited by Anonymous on October 27th, 2010, 10:04 am, edited 1 time in total.
Re: A little help! -- need a script for deleting any .sfv, .nfo's etc for a category
Assuming you run Windows, this is a usable script:
Put it in a file called clean.cmd and put that file in the folder you specified in Config->Folders.
Then pick the script for any applicable category in Config->Categories.
Code: Select all
@echo off
del %1\*.nfo %1\*.sfv
Then pick the script for any applicable category in Config->Categories.
Re: A little help! -- need a script for deleting any .sfv, .nfo's etc for a category
Will that still sort the movies/films how I have configured??
Re: A little help! -- need a script for deleting any .sfv, .nfo's etc for a category
Hi
Could I get the script to remove samples?
%1\*sample*
Could I get the script to remove samples?
%1\*sample*
Re: A little help! -- need a script for deleting any .sfv, .nfo's etc for a category
The cmd removed all the .sfv and .nfo as instructed but the movie name doesn't follow the sorting instructions that I set out '%title (%y).%ext'