[CLUE-Tech] The cp command

Brandon N bneill at yahoo.com
Sat Apr 14 20:55:29 MDT 2001


> > Hi,
> > 
> > I'd like to copy a file into all recursive directories below the
> current
> > directory, I've tried using:
> > 
> > cp -R filename
> > 
> > but it didn't work.  Any suggestions?
> > 
> > Kevin

what do you mean recursivly ie:

case 1
/
| dir1/
| dir2/
| dir3/

case 2
/
| dir1/
      | dir2/
            | dir3/



either way, you're going to have to use a FOR loop to copy in to all
three directories.

Brandon

__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/



More information about the clue-tech mailing list