On Fri, 7 Jul 2000, Brian Wright wrote:

> Hi, list!
> 
> Is there a quick and dirty way to copy all hidden files with cp?  I tried
> using cp .* but that also gets ..
> 
> I would do cp .a* .b* ... .z* but that would be a pain to type. :)

cp .[!.]* <dest dir>
cp .[^.]* <dest dir>

  both appear to work in bash, but they will also match any 
hidden directories.

rday


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to