![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Find files in directory and its subdirectory | jyotib | Shell Programming and Scripting | 11 | 01-24-2008 01:19 PM |
| Find files including subdirectory and Delete | thepurple | Shell Programming and Scripting | 1 | 10-04-2007 03:57 AM |
| another question regarding copy | icecool1249 | UNIX for Dummies Questions & Answers | 3 | 03-29-2006 08:16 AM |
| another copy to tape question | ted | Shell Programming and Scripting | 1 | 12-06-2002 11:28 AM |
| How can I copy files and subdirectory? | odogbolu98 | UNIX for Dummies Questions & Answers | 3 | 02-15-2002 12:14 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
[Question]How to copy files to all subdirectory
I want to copy php.ini to all subdirectory. what command that should i run?
|
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
Something like:
Code:
for ELE in `find . -type d -print| awk 'NR > 1 {print}'`; do cp php.ini ${ELE}; done
|
|
#3
|
|||
|
|||
|
Thx alot
|
|||
| Google The UNIX and Linux Forums |