Advanced tar question
Charles Howse
chowse at charter.net
Sun Feb 29 22:53:16 UTC 2004
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
How can I pass a *list* of excluded *directories* to tar? Would it be
delimited by whitespace, comma, quoted or what? I'll ultimately want to
create this list as a variable.
I also want to preserve existing ownership and permissions.
I'm using the following command at this point, but I can't find anything in
man tar about excluding more than one pattern...or did I miss something?
[charles at moe charles]$ tar cvCfz /home/charles /tmp/my_home_dir.tgz .
- --exclude /home/charles/.giFT/
- --
Charles Howse
Jackson, TN
Registered Linux user # 347576 (http://counter.li.org)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
iD8DBQFAQm1n/S+VsB9RMKgRArwXAKCRePA/0Tb4AI8lw+IH4BMwpsUWswCcCJyh
+NzZNCb6rht79UF7pNo2Pgk=
=ESDx
-----END PGP SIGNATURE-----
More information about the users
mailing list