File Masks

English Support for Syncovery on Apple Computers.
Post Reply
Simplytoast
Posts: 25
Joined: Sat Apr 18, 2020 2:54 pm

File Masks

Post 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.

tobias
Posts: 1746
Joined: Tue Mar 31, 2020 7:37 pm

Re: File Masks

Post 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*

Simplytoast
Posts: 25
Joined: Sat Apr 18, 2020 2:54 pm

Re: File Masks

Post by Simplytoast »

AHHHHH! Got it! Will try and report back!

Simplytoast
Posts: 25
Joined: Sat Apr 18, 2020 2:54 pm

Re: File Masks

Post by Simplytoast »

I must be missing something as the masks are showing files that are not matching the patterns at all.

tobias
Posts: 1746
Joined: Tue Mar 31, 2020 7:37 pm

Re: File Masks

Post 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?

Simplytoast
Posts: 25
Joined: Sat Apr 18, 2020 2:54 pm

Re: File Masks

Post 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*;
Attachments
Pasted Graphic.png
Pasted Graphic.png (48.27 KiB) Viewed 2179 times

tobias
Posts: 1746
Joined: Tue Mar 31, 2020 7:37 pm

Re: File Masks

Post 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.

Post Reply