Using hdup 2.0.0
Boris Goldowsky <boris-FrUbXkNCsVf2fBVCVOL8/[email protected]> Thu, 11 Nov 2004 09:00:09 -0500
| Newsgroups | gmane.comp.sysutils.backup.hdup.general |
|---|---|
| Message-ID | <[email protected]> |
I'm trying to work out exactly how the new exclude mechanism works. The following seem to be true, I wonder if they are intentional and will continue to work this way? A / or ^ at the start of an exclude expression forces it to match at the root of the filesystem. There isn't a way to match at the root of the directory tree being backed up. The filename can be a partial match -- for instance, the exclude regexp "evolution/cache" will match the filename "/home/boris/.evolution/cache"; so will the regexp "lution.ca" . Following from the previous observations, if you want to match just "evolution" and not ".evolution", I think you'd have to use something like [^.]evolution, since /evolution would force the match to the root directory. It would be great to get some of the rules and examples into the man page at some point. Bng