On Friday 18 February 2005 7:53 pm, JIE mail-list 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.

It gets everything in the folder, since the"." directory (the current 
directory) matches the ".*" file specification.

Try using:

        tar -czvf backup.tar.gz .??*

____________________________________________________
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