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
> 
> 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to