Page 1 of 1

Exclude Files from extracting

Posted: October 3rd, 2020, 2:37 am
by ichibansenshi
How can I set SAB to exclude Files from extracting?

Example: Sometimes when i download certain Series, the Content of the Folder are *.nfo File, *.bat file, click file and then the movie is labeled xxx.1 and xxx.2. I dont know what the purpose is to pack the series this way, but in the readme its written you have tu run the bat file to restore the name. The hell i'm gona do that.

I want to set SAB that for example, it only extract files bigger than 300MB

Or has someone a better workaround for this?

Re: Exclude Files from extracting

Posted: October 3rd, 2020, 5:20 am
by safihre
Not really. You can however put .bat on your CleanUp list in Config > Switchs and SABnzbd will remove the files for you after extraction.

Re: Exclude Files from extracting

Posted: October 3rd, 2020, 8:20 am
by ichibansenshi
safihre wrote: October 3rd, 2020, 5:20 am Not really. You can however put .bat on your CleanUp list in Config > Switchs and SABnzbd will remove the files for you after extraction.
Good Idea. I'm no expert with bat files. What would the code look like to delete the files?

would it also be possible to make something like: "If the Filesize > 100MB than rename extension to mkv" ?

Re: Exclude Files from extracting

Posted: October 5th, 2020, 12:42 pm
by safihre
What I meant is that you can use the Cleanup list to remove unwanted files :)

Re: Exclude Files from extracting

Posted: October 5th, 2020, 4:15 pm
by ichibansenshi
safihre wrote: October 5th, 2020, 12:42 pm What I meant is that you can use the Cleanup list to remove unwanted files :)
Ah, ok, sorry. I thought you can make a bat file that will run after the download.
Cleanup list is a good idea, but the problem is, that it should only affect one category.
for example: if i say to delete all txt, bat, nfo files etc. this would be great for movies and series, but not so much for software or other things.