[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Wildcard for hidden files



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



Reply to: