View Single Post
  #5  
Old 15th November 2006, 22:54
bpmee bpmee is offline
Member
 
Join Date: Aug 2006
Posts: 86
Thanks: 3
Thanked 7 Times in 6 Posts
Default Here's the code bit

Hi Falko,

Here's the code.... note, I use various iterations of it, such as web2*, web3*, etc because of the extreme amount of folders and sites on my server...

Code:
find /var/www/web1*/web/site*/myfolder/ -maxdepth 1 -type d | awk '{print "cp -f -R /home/searchfeed.php "$1"/"}' | /bin/sh
echo bm1
* Note, the double wild card is on purpose....

THANKS!
Reply With Quote