From owner-freebsd-questions Thu Jul 26 11:53:58 2001 Delivered-To: freebsd-questions@freebsd.org Received: from zogbe.tasam.com (cj45658-a.reston1.va.home.com [65.9.36.73]) by hub.freebsd.org (Postfix) with ESMTP id 89A1F37B403 for ; Thu, 26 Jul 2001 11:53:55 -0700 (PDT) (envelope-from clash@tasam.com) Received: from battleship (zogbe.tasam.com [10.45.45.5] (may be forged)) by zogbe.tasam.com (8.11.4/8.11.4) with SMTP id f6QIrqu62296; Thu, 26 Jul 2001 14:53:52 -0400 (EDT) Message-ID: <006801c11604$4e5c8110$0b2d2d0a@battleship> From: "Joseph Gleason" To: "Erin Fortenberry" , "'questions@freebsd.org'" References: Subject: Re: tar - need to excluding directories Date: Thu, 26 Jul 2001 14:53:48 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.3018.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.3018.1300 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 --exclude dir example: cd / tar -czvf /tmp/backup.tgz --exclude tmp --exclude dev . ----- Original Message ----- From: "Erin Fortenberry" To: "'questions@freebsd.org'" Sent: Thursday, July 26, 2001 13:16 Subject: tar - need to excluding directories > 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