Date: Mon, 07 Oct 1996 12:51:07 +0200 From: Peter Olsson <pol@leissner.se> To: questions@freebsd.org Subject: HELP: exclude doesn't work in tar? Message-ID: <3.0b26.32.19961007125105.0069ee30@lda>
next in thread | raw e-mail | index | archive | help
I run 2.1.0-RELEASE.
I have tried various syntaxes, including among others:
tar cvfX test.tar excludefile *
tar cvXf test.tar excludefile *
tar -c -v -f test.tar -X excludefile *
tar -c -v -X excludefile -f test.tar *
tar -c -v -f test.tar --exclude-from excludefile *
tar -c -v -f test.tar --exclude exclude.me *
In excludefile I have put lines with filenames, I have tried
absolute filenames, only filenames without path and ./filenames.
Nothing works. The named file is never excluded.
What am I doing wrong???
Thanks for your time! Please cc me, my mailsystem (or someone on the way)
has the ugly habit of truncating the digests.
-----------------------------------------------------------------
Peter Olsson Email: pol@leissner.se
Leissner Data AB, Sweden Phone: +46 520 200 00
Fax: +46 520 200 89
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3.0b26.32.19961007125105.0069ee30>
