tar question (sort of

Net Llama! netllama
Mon May 17 11:47:06 PDT 2004


On Mon, 5 May 2003, Tim Wunder wrote:
> I want to tar -zcvf all the data in /home, except what's contained in
> /home/<somedir>. Any ideas how to do that?

tar has an --exclude switch.  Check the man page.

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Lonni J Friedman				netllama at linux-sxs.org
Linux Step-by-step & TyGeMo		     http://netllama.ipfox.com


More information about the Linux-users mailing list