On Tue, 26 May 1998, Rick Macdonald wrote:

> This fails:
> 
> tar --exclude=xxx -zcvf test.tar *
> 
> But this works:
> 
> tar --exclude=xxx -zcvf test.tar ./
> 
> Go figure.

Have you compared absolute and relative path names?  The shell expands *
to a full path name.  Also, listing the file in the list to the right (as
you do with a *) may override the exclude flag.  A test with ./* should
explain things (sorry, I'm not at my box now).

Brandon


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to