Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Sep 2002 22:14:42 +1000
From:      "Andrew Nelson" <andrew__nelson@hotmail.com>
To:        freebsd-hackers@freebsd.org
Subject:   using tar --exclude in FreeBSD..
Message-ID:  <F17lQoMuDGzxTs53iVd000009f3@hotmail.com>

next in thread | raw e-mail | index | archive | help
Hi,

I'm having trouble using tar with simple exclusion
rules..  I'd like to be able to run something like this:

tar cfvzp etc-backup.tgz /etc/

but exclude all *.gz files. I can only the --exclude syntax
of tar if I leave off the -vzp options.  Why doesn't the
following work?

tar cfvzp --exclude="*.gz" usr-backup.tgz /etc/

Thanks,
Andrew.

_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F17lQoMuDGzxTs53iVd000009f3>