Advanced tar question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----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@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-----




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux