From owner-freebsd-questions Thu Jul 26 12:11:28 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail.corpex.de (mileena.corpex.de [213.61.99.25]) by hub.freebsd.org (Postfix) with ESMTP id CB1DD37B405 for ; Thu, 26 Jul 2001 12:11:25 -0700 (PDT) (envelope-from pg@philipp.de.com) Received: from saotome.staff.corpex.de ([213.61.99.34] helo=saotome) by mail.corpex.de with smtp (Exim 3.22 #3) id 15PqXd-000698-00; Thu, 26 Jul 2001 21:11:25 +0200 From: =?iso-8859-1?Q?Philipp_Gasch=FCtz?= To: "Erin Fortenberry" , Subject: AW: tar - need to excluding directories Date: Thu, 26 Jul 2001 21:10:31 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 In-Reply-To: Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG ...yes it will! one file/dir per line -------- bash# cat /usr/local/etc/backup.exclude /tmp /dev /proc /mnt /lost+found bash# -------- /usr/bin/tar -cpPf /dev/nsa0 -X /usr/local/etc/backup.exclude / /pg > > I need to tarball everything from the root but I need to exclude my > /home/backup directory. I looked through the man pages and found; > > -X file > --exclude-from file Exclude files listed in file. > > Does anyone know if this will exclude that directory and all of its > subdirectories? > > > Thanks, > > Erin > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message