Page 1 of 1
A little help! -- need a script for deleting any .sfv, .nfo's etc for a category
Posted: October 27th, 2010, 5:53 am
by clarkey2r
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
Re: A little help! -- need a script for deleting any .sfv, .nfo's etc for a category
Posted: October 27th, 2010, 10:57 am
by shypike
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.
Re: A little help! -- need a script for deleting any .sfv, .nfo's etc for a category
Posted: October 28th, 2010, 2:23 am
by clarkey2r
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
Posted: October 28th, 2010, 12:29 pm
by shypike
yes.
Re: A little help! -- need a script for deleting any .sfv, .nfo's etc for a category
Posted: October 29th, 2010, 2:44 am
by clarkey2r
Hi
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
Posted: October 29th, 2010, 4:36 am
by clarkey2r
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'