View Full Version : Exclude folders based on their names

01-20-2009, 03:59 PM
Is it possible (using wildcards) to exclude specific folders from a backup? For instance, all folders with a name that starts with " " or something like that.
I know I can exclude files using this technique, but is seems as if this does not work for folders.

Thanks in advance!

01-20-2009, 05:26 PM
It should certainly work just the same for folders, SanderP.

01-21-2009, 05:39 AM
I'm sorry, I didn't explain myself properly.

It does of course work for specific folders. I can easily exclude a folder by adding something like "ignore Projects/Test/ images".

What I would like to do is exclude any folder that has a name that starts with " ", no matter where it exists on a volume. Something like "ignore Projects/ *" or "ignore Projects/*/ *". That doesn't seem to be possible.


01-21-2009, 09:25 AM
Correct: you can't specify "any folder, anywhere". The commands are specific to locations (but can be multi-level -- e.g. Projects/*/• * should work in all folders inside Projects, and all •-starting folders under there.).

01-21-2009, 11:17 AM
That's strange, because that is exactly what I'm doing -- to no avail.

Does it matter if Project is a volume, and not a regular folder? I have tried both "ignore Projects/*/ *" and "ignore Volumes/Projects/*/ *".

If there is no way to get this to work, it may be a nice feature for the next version of SuperDuper!

Thanks for your help, Dave.

01-21-2009, 11:41 AM
Yes, that matters. Your commands are rooted at the top of the selected volume, so if you use "Projects" at the start, it'll be /Volumes/Projects/Projects/*..., which isn't right. You want to use */• * in your case.

01-21-2009, 11:51 AM
Ah, now I get it! That works like a charm.

Thanks a lot for your help.