Page 1 of 1

How to avoid files with extension url being added?

Posted: 13 Oct 2016, 07:33
by Biff
When I add folder / many files to FileBot how could I avoid that special files are added, with a special extension, e.g. *.url or containg "sample" in the file name?

Re: How to avoid files with extension url being added?

Posted: 13 Oct 2016, 11:00
by rednoah
I've made a tutorial: viewtopic.php?f=3&t=4222

Re: How to avoid files with extension url being added?

Posted: 13 Oct 2016, 11:19
by Biff
Thank you very much!

Alright, thanks for the tutorial, also. So, to automatically let FileBot let block the unwished files when drag and drop them to the is panel is not possible, I guess.

Re: How to avoid files with extension url being added?

Posted: 13 Oct 2016, 16:19
by rednoah
You could make your own Preset. You can set a predefined input folder and input file filter:
viewtopic.php?f=3&t=3228

e.g. Includes:

Code: Select all

!(ext =~ /nfo/ || fn =~ /sample/)

Re: How to avoid files with extension url being added?

Posted: 13 Oct 2016, 16:44
by Biff
Thank you very much for the code and link.
I have done it that way, but I cannot get it to work:
Image
The nfo file is added, though.

And how can I add further extensions? E.g. info and db?

Code: Select all

!(ext =~ /nfo/ || fn =~ /sample/)
Many thanks again.

Re: How to avoid files with extension url being added?

Posted: 13 Oct 2016, 17:10
by rednoah
The result of this expression is either TRUE or FALSE. Do you want name your files TRUE or FALSE? Because that's what the format expression is for... :lol:

The Includes filter allows you to filter the files you want to include. You will find the code box for the Includes filter right below the Input Folder text box. You can test your Includes filter by clicking the Search/Folder icon button next to it.

Re: How to avoid files with extension url being added?

Posted: 13 Oct 2016, 17:24
by Biff
Very sorry, I do not understand anything...besides of "includes"...or so...