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

Re: tar exclude file



Whoops, forgot to mention (another line from same script):
tar -zcvf var.tar.gz --exclude='/var/spool/squid/*' /var
So excluding deeper directories shouldn't be a problem either.


-- 
Alex Shnitman                            | http://www.debian.org
alexsh@hectic.net, alexsh@linux.org.il   +-----------------------
http://alexsh.hectic.net    UIN 188956    PGP key on web page
       E1 F2 7B 6C A0 31 80 28  63 B8 02 BA 65 C7 8B BA

Minds are like parachutes... they work best when open.

=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il