On Sat, 19 Feb 2005 21:48:57 -0500, Miark <[EMAIL PROTECTED]> wrote:
> On Fri, 18 Feb 2005 19:53:41 -0500, JIE wrote:
> 
> > I want to create a gzip'ed tar archive of all my dot files for
> > backup purposes but I can't figure out how to select only the
> > dot files without also getting everything else in the folder.
> >
> > $ tar -cvf backup.tar.gz .*
> > This seems to get everything in the folder; not good.
> 
> I'm guessing by the .gz that you want it gzipped, but you're
> missing the 'z' switch. Should be "tar cvfz".

Got questions to make this thread richer ...

Q1: What if one wants to tar only the files and directories which are
not hidden
(i.e. no DOT files/directories)?

Q2: How do you use the "cp" command to copy everything like "tar" does
by default
(i.e. for copying exact duplicate of a directory tree without tarring)?

Thanks guys!   =)


Arys

____________________________________________________
Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com
____________________________________________________

Reply via email to