Page 1 of 1

Mask and Regex filters not working for folders?

Posted: 02 Feb 2023, 08:20
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.

Re: Mask and Regex filters not working for folders?

Posted: 02 Feb 2023, 11:55
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.

Re: Mask and Regex filters not working for folders?

Posted: 03 Feb 2023, 09:54
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.

Re: Mask and Regex filters not working for folders?

Posted: 04 Feb 2023, 22:16
by cobian
:OK