Re: star and /dev/watchdog (exclusion of files)

Wolfram Schlich <[email protected]> Fri, 14 Mar 2008 16:15:00 +0100
Newsgroups gmane.comp.archivers.star.user
Organization Axis of Weasel(s)
Message-ID <[email protected]>
* Joerg Schilling <[email protected]> [2008-03-14 16:03]:
> Wolfram Schlich <[email protected]> wrote:
> 
> > And I was wrong -- it does not include the directory itself as empty.
> > Forget about that. Here comes the point:
> >
> > The problem I had was that with -not -pattern='/some/dir', it did exclude
> > /some/dir *itself*, but not anything *beyond* /some/dir (for example
> > /some/dir/somefile). So, in order to *completely* exclude a directory,
> > I have to use '^/some/dir{%!/*}'.
> > As opposed to GNU tar which handles --exclude=/some/dir just as I'd
> > expect it.
> 
> You are mixing apples with oranges here (see star man page).

Hmm, neither a search for 'apples' nor for 'oranges' in the manpage yields
any results... anyway :P

> If GNU tar implements this with pattern matching as star does, it would be a 
> bug. There is a different behavior from historic tar....

I see.

> > > Where is your problem?
> >
> > Looks like I missed the NOTES section about -xfflags :)
> > I'll switch off -xfflags now.
> 
> Check the man page for the star option to tell that you like to exclude Complete
> directory trees.

You are probably talking about -match-tree?
Thanks!
-- 
Wolfram Schlich