on Fri, Oct 18, 2002 at 12:40:04PM +1000, Colin Humphreys <[EMAIL PROTECTED]> wrote:
> > tar czvf filename.tar.gz .*  
> 
> tar czvf filename.tar.gz .??* 

that wont get a dot file with only 1 other letter .x

ls -A |grep "^\." is a good way to get all dirs and files that start with .
but not . and ..

so 

tar czvf filename.tar.gz `ls -A |grep "^\."`

BB


> -- 
> SLUG - Sydney Linux User's Group - http://slug.org.au/
> More Info: http://lists.slug.org.au/listinfo/slug
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to