Peter Arremann wrote: ...
Anyway, you can use the -X option in tar, point it to a file that contains all unwanted directories... /var/spool /var/cache /var/lock /var/tmp are probably some others you won't need on most boxes...
/var/spool/mail contains unread mails on a mailserver, not the best candidate for the -X option... /var/cache/samba contains important information for samba, at least if it runs as a domain controller. Not a good candidate either. Mogens -- Mogens Kjaer, Carlsberg A/S, Computer Department Gamle Carlsberg Vej 10, DK-2500 Valby, Denmark Phone: +45 33 27 53 25, Fax: +45 33 27 47 08 Email: mk@xxxxxx Homepage: http://www.crc.dk