Page 1 of 1

File Masks

Posted: Mon May 06, 2024 7:58 pm
by Simplytoast
I have made a filter *.(0[1-9]|1[0-2])\.19.* that is intended to find any file that contains the pattern 01.19 - 12.19

However when I run the mask I am finding files that don't match the pattern at all. Looking for advice.

Re: File Masks

Posted: Mon May 06, 2024 9:38 pm
by tobias
Hi,
the masks aren't that smart. You would instead simply put this list into the field:

*.01.19*
*.02.19*
*.03.19*
*.04.19*
*.05.19*
*.06.19*
*.07.19*
*.08.19*
*.09.19*
*.10.19*
*.11.19*
*.12.19*

Re: File Masks

Posted: Tue May 07, 2024 2:34 am
by Simplytoast
AHHHHH! Got it! Will try and report back!

Re: File Masks

Posted: Tue May 07, 2024 1:05 pm
by Simplytoast
I must be missing something as the masks are showing files that are not matching the patterns at all.

Re: File Masks

Posted: Tue May 07, 2024 2:42 pm
by tobias
Did you put them into the Inclusion Masks and remove anything else?

Can you post your settings as shown at the end of the log file?

Re: File Masks

Posted: Wed May 08, 2024 1:13 pm
by Simplytoast
Indeed... Find the setting below and screenshot of "extra" files it is including.

[Inclusion Masks]
FileMasks=*.1.16*;*.2.16*;*.3.16*;*.4.16*;*.5.16*;*.6.16*;*.7.16*;*.8.16*;*.9.16*;*.10.16*;*.11.16*;*.12.16*;

Re: File Masks

Posted: Wed May 08, 2024 1:52 pm
by tobias
The masks apply only to files, not folders. Your screenshot shows folders!

To prevent empty folders from being shown, go to the "Folders" tab sheet, and remove the checkmark "Create Empty Folders".

These folders are considered "empty" because of your masks.

On the other hand, if you want folder masks rather than filename masks, please remove the masks where you have them now, and click on the checkmark "Specify Folder Masks" instead.

There you can specify them with semicolons only, I believe, like this:

*.1.16*;*.2.16*;*.3.16*;*.4.16*;*.5.16*;*.6.16*;*.7.16*;*.8.16*;*.9.16*;*.10.16*;*.11.16*;*.12.16*

Or maybe you only need this?
01.16;02.16;03.16;04.16
etc.

If you need specific folder names, you can just type the name and do not need any asterisk.

Also set the checkboxes on the pop-up dialog according to your requirements.