Tugger the SLUGger!SLUG Mailing List Archives

[SLUG] tarring dot files and directories only

Hi all,

I'm having a serious mental issue with trying to create a tar archive of
only my dot files (and dot directories).

tar czvf filename.tar.gz .*  

gets me everything which I guess it should but is not what I want;
should I pipe ls into tar somehow?  I've read a couple of FMs quickly to
no avail...


Denis Crowdy

Department of Contemporary Music Studies
Macquarie University
NSW 2109 Australia, ph: +61 (0)2 9850 6787, fax: 9850 6593