On Saturday 21 October 2006 18:37, Tim Post wrote: > ls -A | grep ^[.] doesn't give you . and .. :) > > tar -czvf foo.tar.gz `ls -A | grep ^[.]` should produce the results you > want wrt archiving the resulting files. > > Best, > -Tim > > > ls -a | grep ^[.] > > > > This will, however, still give you the . and .. directories. > > > > --Ben
Thanks Tim, this worked. Girish I could't get your version to work, but thanks anyway for the suggestion. Chris -- C. Hurschler -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]