Tar Question
Steve Cowles
steve at stevecowles.com
Tue Sep 7 21:05:36 UTC 2004
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Stardate 6609.08, Darryl W. DeLao Jr. said:
| Is there a way to create a tar file and exclude a specific directory
that is
| within the directory you want to tar?
|
|
|
| For example, I have a directory called /www/ and in that directory is
| another directory called /www/test/ and I want to tar up the /www/
| directory but I do not want the tar to include the /www/test/
directory but
| I do want the tar to include all the other sub-directories within /www/
|
See: man tar
In particular, the --exclude option.
- --
Steve Cowles
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFBPiKg+EiWPcdLGmQRAoujAJ0UGeTRf2ioW4eIEZGeG87QQdzBNwCdGTkK
IrqzO6OHVYT0Z6b8yiPgTo0=
=3F+t
-----END PGP SIGNATURE-----
More information about the redhat-list
mailing list