Mask and Regex filters not working for folders?

Questions about Cobian Reflector
Post Reply
DemonKing
Posts: 10
Joined: 21 Jan 2023, 11:38

Mask and Regex filters not working for folders?

Post by DemonKing »

Not sure if I'm doing something wrong, but I can't get Cobian Reflector to ignore folders based on keywords. I'm using the below mask and regex:

cache, *cache, cache*, *cache*
Cache, *Cache, Cache*, *Cache*
^.*cache.*$
^.*Cache.*$

However, cache folders are still being backed up.

Any help to prevent this is appreciated.
User avatar
cobian
Site Admin
Posts: 4492
Joined: 31 Oct 2020, 01:25
Location: Sweden
Contact:

Re: Mask and Regex filters not working for folders?

Post by cobian »

Try the mask *\cache\*

The directory will be created but empty. Use the "ignore empty folders" option to delete the newly created empty folders.
--
Luis Cobian
Cobian Backup's creator
DemonKing
Posts: 10
Joined: 21 Jan 2023, 11:38

Re: Mask and Regex filters not working for folders?

Post by DemonKing »

No luck. Folder content was still copied. Folder name contains the word cache, file names do not.

Edit:
To test I created a small folder and file structure and only added that mask to the task. I tested again with the regex I previously used and it worked, I think I did not properly test it before, just saw the folders still copied while backup was running and assumed it was not working.
Testing again on the original large folder now.
User avatar
cobian
Site Admin
Posts: 4492
Joined: 31 Oct 2020, 01:25
Location: Sweden
Contact:

Re: Mask and Regex filters not working for folders?

Post by cobian »

:OK
--
Luis Cobian
Cobian Backup's creator
Post Reply