----- "Rich Shepard" <[email protected]> wrote: > On Sun, 1 Nov 2009, Michael Ewan wrote: > > > Also if you want just the dot files/dirs you can try this: > > tar cvzf /media/disk/psa-home.tgz .??* > > .??* will match all dot files that have more the two characters in > the > > name, thus skipping . and .., if you have a dot file named something > like > > .a, you will have to name that explicitly on the command line. > > Thank you, Michael. I learned that very early this year and saved > the > syntax 'cause I knew I'd need it again. I do appreciate your > reminder. >
Most folks learn the syntax AFTER doing 'rm -fr .*' trying to remove dot files. They also end up removing the parent directory (..). I hope that wasn't your experience. _______________________________________________ PLUG mailing list [email protected] http://lists.pdxlinux.org/mailman/listinfo/plug
