Date: Thu, 26 Jul 2001 14:53:48 -0400 From: "Joseph Gleason" <clash@tasam.com> To: "Erin Fortenberry" <efortenb@sdccd.cc.ca.us>, "'questions@freebsd.org'" <questions@FreeBSD.ORG> Subject: Re: tar - need to excluding directories Message-ID: <006801c11604$4e5c8110$0b2d2d0a@battleship> References: <BBDEEDD2EB67D311A0240008C74B9345129C3F@ntxmidcity.sdccd.cc.ca.us>
next in thread | previous in thread | raw e-mail | index | archive | help
--exclude dir example: cd / tar -czvf /tmp/backup.tgz --exclude tmp --exclude dev . ----- Original Message ----- From: "Erin Fortenberry" <efortenb@sdccd.cc.ca.us> To: "'questions@freebsd.org'" <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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?006801c11604$4e5c8110$0b2d2d0a>