Re: Using hdup 2.0.0
Boris Goldowsky <boris-FrUbXkNCsVf2fBVCVOL8/[email protected]> Thu, 11 Nov 2004 11:50:39 -0500
| Newsgroups | gmane.comp.sysutils.backup.hdup.general |
|---|---|
| Message-ID | <[email protected]> |
[my question]: > > 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. On Thu, 2004-11-11 at 15:54 +0100, Miek Gieben wrote: > yes, exactly, the / is in no way special . I see, I was mistaken about / being special at the beginning of the pattern. It does not force it to the root of the filesystem. ^/ should do that. That's better than I thought, actually. The / at the end is only very slightly special - it causes a "Now Leaving" message to be output with the -VV flag. Without the trailing / there is no message but the directory is still excluded, which confused me the first few times through. (And of course without the trailing / you could catch a non-directory file of the same name, but that follows from the "just match against the pathname" rule, if you imagine all directories being written with their trailing / when they're compared against the regexp). Bng -- Boris Goldowsky <boris-FrUbXkNCsVf2fBVCVOL8/[email protected]>