The support forum

Exclude file type in all subfolders of a specified folder

rjohns1138 :

Mar 26, 2018

Hello. I'm trying to set up a file exclusion as stated in the subject and I can't seem to get anything to work. Is this possible?

Alex Pankratov :

Mar 26, 2018

I assume that that this folder sits below the top of the source location, correct? That is, you are backing, say, C:\Foo, but you want to exclude *.xyz from C:\Foo\Bar\ and below?

If so, then you cannot do it with a single rule at the moment. You will need a set of rules to cover levels down to required depth, i.e.

    Exclude .\Bar\*.xyz
    Exclude .\Bar\*\*.xyz
    Exclude .\Bar\*\*\*.xyz
    Exclude .\Bar\*\*\*\*.xyz
    ...

Alex Pankratov :

Mar 26, 2018

PS. There's an item on our ToDo list to add support for ** notation, which allows matching zero or more intermediate path segments. But this is not done yet and it's not yet on a short list of features we are working on.

rjohns1138 :

Mar 26, 2018

I can make it work using multiple rules for each level. Thank you.

New topic

Create
Made by Pipemetrics in Switzerland
Support


Follow
Twitter
Blog / RSS
Miscellanea Press resources
Testimonials
On robocopy
Company
Imprint

Legal Terms
Privacy