Re: SOLVED (partly) Re: I can't get tar to exclude files!!
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 debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: