From owner-freebsd-questions@FreeBSD.ORG Sun Nov 9 12:01:42 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5E63F16A4CF for ; Sun, 9 Nov 2003 12:01:42 -0800 (PST) Received: from be-well.no-ip.com (lowellg.ne.client2.attbi.com [66.30.200.37]) by mx1.FreeBSD.org (Postfix) with ESMTP id DB6DC43F85 for ; Sun, 9 Nov 2003 12:01:39 -0800 (PST) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: by be-well.no-ip.com (Postfix, from userid 1147) id 754253AF9; Sun, 9 Nov 2003 15:01:39 -0500 (EST) Sender: lowell@be-well.ilk.org To: rodperson@comcast.net References: <200311081922.47819.rodperson@comcast.net> From: Lowell Gilbert Date: 09 Nov 2003 15:01:39 -0500 In-Reply-To: <200311081922.47819.rodperson@comcast.net> Message-ID: <44u15d5n18.fsf@be-well.ilk.org> Lines: 17 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: freebsd-questions@freebsd.org Subject: Re: problem with tar on 5.1? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Nov 2003 20:01:42 -0000 Rod Person writes: > according to the man page for tar --exclude-from and -X are supported. > This command does not do what I expected it to do: > tar -cz -f/usr/local/tmp/RoddieRodHome.tgz /home/roddierod > --exclude-from=/home/roddierod/.pan > > Now I would expect that this would create a tar gzip file called > RoddieRodHome.tgz and tar ball of my home with every thing but the files in > .pan. But it does include the .pan directory. > > Is the --exclude-from not supported even though it is in the manpage? I think you're confusing --exclude with --exclude-from. What you typed should have excluded all of the files that were listed in a file named "/home/roddierod/.pan".