tar question (sort of

ronnie gauthier ronnieg
Mon May 17 11:47:06 PDT 2004


tar -xcvf -X /somefolder archive.tar.gz home, should work
X can be included in ticks to use shell patterns also, -X '/home/*/tmp'
to exclude all tmp folders in folders under /home./. You can also specify an
exclude file to use instead.

 
On Mon, 05 May 2003 09:12:58 -0400 - Tim Wunder <tim at thewunders.org> wrote the
following
Re: tar question (sort of

>I want to tar -zcvf all the data in /home, except what's contained in 
>/home/<somedir>. Any ideas how to do that?
>
>Thanks,
>Tim
>
>_______________________________________________
>Linux-users mailing list
>Linux-users at linux-sxs.org
>Unsubscribe/Suspend/Etc ->
>http://www.linux-sxs.org/mailman/listinfo/linux-users


More information about the Linux-users mailing list