http://www.google.com/search?num=30&hl=en&newwindow=1&q=regular+expression+t
utorial+bash

Ed Wilts
Mounds View, MN, USA
mailto:[EMAIL PROTECTED]
----- Original Message -----
From: "Nick Wilson" <[EMAIL PROTECTED]>

> * and then rpjday declared....
> > > I want to cp every file and directory that starts with a '.'
> > > I'm trying to backup all the rc files/dirs on my home dir and just
can't
> > > work it out. Any help appreciated!
> >
> > the pattern that will match all hidden files/directories is
> > .[!.]*, and you want to copy recursively, so you could do
> >
> > $ cp -a .[!.]* <name-of-dest-dir>
>
> Fantastic. Thanks.
> Do you know where I might learn such stuff?
>
> - --
> Nick Wilson




_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to