Quantcast
Channel: CobianSoft
Viewing all articles
Browse latest Browse all 4265

Cobian Reflector • Re: Exclude mask does not seem to work on folders

$
0
0
Following my experience I give you this information :

1 - The RegEx Mask must match with the whole path of the file to be excluded
2 - the whole path (ex c:\abv\yut\Stf_folder\fileName) looks like
path to the parent folder of the folder containing the file >>>> as you want all the different path possible for a match RegEx is .*
then an antiSlash '\' >>> for a match RegEx is \\
then folderName >>> for a match RegEx is folderName
the name begin with Stf RegEx is Stf
the name continue with letters or digits or special character but not antislash which is after the folderName in the whole path
RegEx is [^\\]*
then an antiSlash '\' >>> for match RegEx is \\
then fileName >>> for a match fileName >>>> as you want all the files in the folder and his subFolders the RegEx is .*

if You concatenate the RegExs this is :
.*\\Stf[^\\]*\\.*

Statistics: Posted by JCD19 — 03 Apr 2023, 17:38



Viewing all articles
Browse latest Browse all 4265

Trending Articles