From owner-freebsd-questions Mon Oct 7 03:51:30 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id DAA07246 for questions-outgoing; Mon, 7 Oct 1996 03:51:30 -0700 (PDT) Received: from gate.leissner.se (gate.leissner.se [193.45.192.34]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id DAA07233 for ; Mon, 7 Oct 1996 03:51:22 -0700 (PDT) Received: from leissner.se (uucp@localhost) by gate.leissner.se (8.6.12/8.6.9) with UUCP id KAA17047 for freebsd.org!questions; Mon, 7 Oct 1996 10:51:16 GMT Received: from lda.leissner.se by lda.leissner.se id aa06508; 7 Oct 96 12:51 SST Message-Id: <3.0b26.32.19961007125105.0069ee30@lda> X-Sender: pol@lda X-Mailer: Windows Eudora Pro Version 3.0b26 (32) Date: Mon, 07 Oct 1996 12:51:07 +0200 To: questions@freebsd.org From: Peter Olsson Subject: HELP: exclude doesn't work in tar? Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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