How to avoid files with extension url being added?

Support for Windows users
Post Reply
Biff
Posts: 241
Joined: 02 Mar 2014, 17:52

How to avoid files with extension url being added?

Post 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?
Newest portable, stable FileBot, Windows 10 Home, 64bit
User avatar
rednoah
The Source
Posts: 23926
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

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

Post by rednoah »

I've made a tutorial: viewtopic.php?f=3&t=4222
:idea: Please read the FAQ and How to Request Help.
Biff
Posts: 241
Joined: 02 Mar 2014, 17:52

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

Post 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.
Newest portable, stable FileBot, Windows 10 Home, 64bit
User avatar
rednoah
The Source
Posts: 23926
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

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

Post 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/)
:idea: Please read the FAQ and How to Request Help.
Biff
Posts: 241
Joined: 02 Mar 2014, 17:52

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

Post 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.
Newest portable, stable FileBot, Windows 10 Home, 64bit
User avatar
rednoah
The Source
Posts: 23926
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

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

Post 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.
:idea: Please read the FAQ and How to Request Help.
Biff
Posts: 241
Joined: 02 Mar 2014, 17:52

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

Post by Biff »

Very sorry, I do not understand anything...besides of "includes"...or so...
Newest portable, stable FileBot, Windows 10 Home, 64bit
Post Reply