On Saturday 21 October 2006 14:48, Clive Menzies wrote: > On (21/10/06 07:23), Ron Johnson wrote: > > On 10/21/06 07:14, Clive Menzies wrote: > > > On (21/10/06 14:01), Chris wrote: > > >> Hello, > > >> > > >> How can I list all hidden files or directories with ls? > > >> > > >> ls .* > > >> > > >> does not give the desired result. Id like to archive all the hidden > > >> files in my home folder. > > > > > > ls -al > > > > To get *only* (well, *mostly*) hidden files), try: > > > > ls -aFl | grep " \." > > We live and learn :) > > Thanks Ron > > Regards > > Clive
I know, I'm being a pain, but if I want to pipe this list to tar? Something like: tar -cvvzf test.tar.gz (ls -aFl grep " /.") ??? Thanks, Chris > > -- > www.clivemenzies.co.uk ... > ...strategies for business -- C. Hurschler -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]