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.
File Masks
Re: File Masks
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*
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*
-
- Posts: 25
- Joined: Sat Apr 18, 2020 2:54 pm
Re: File Masks
AHHHHH! Got it! Will try and report back!
-
- Posts: 25
- Joined: Sat Apr 18, 2020 2:54 pm
Re: File Masks
I must be missing something as the masks are showing files that are not matching the patterns at all.
Re: File Masks
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?
Can you post your settings as shown at the end of the log file?
-
- Posts: 25
- Joined: Sat Apr 18, 2020 2:54 pm
Re: File Masks
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*;
[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*;
- Attachments
-
- Pasted Graphic.png (48.27 KiB) Viewed 16032 times
Re: File Masks
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.
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.