View Single Post
  #9  
Old 20th November 2006, 16:59
bpmee bpmee is offline
Member
 
Join Date: Aug 2006
Posts: 86
Thanks: 3
Thanked 5 Times in 5 Posts
Default Here's the code

Hi Falko,

This is the full code:

Code:
##
##
find /var/www/web0*/web/bmres*/ -maxdepth 1 -type d | awk '{print "cp -f /home/searchfeed.php "$1""}'
echo bm0
find /var/www/web1*/web/bmres*/ -maxdepth 1 -type d | awk '{print "cp -f /home/searchfeed.php "$1""}'
echo bm1
find /var/www/web2*/web/bmres*/ -maxdepth 1 -type d | awk '{print "cp -f /home/searchfeed.php "$1""}'
echo bm2
find /var/www/web3*/web/bmres*/ -maxdepth 1 -type d | awk '{print "cp -f /home/searchfeed.php "$1""}'
echo bm3
find /var/www/web4*/web/bmres*/ -maxdepth 1 -type d | awk '{print "cp -f /home/searchfeed.php "$1""}'
echo bm4
find /var/www/web5*/web/bmres*/ -maxdepth 1 -type d | awk '{print "cp -f /home/searchfeed.php "$1""}'
echo bm5
find /var/www/web6*/web/bmres*/ -maxdepth 1 -type d | awk '{print "cp -f /home/searchfeed.php "$1""}'
echo bm6
find /var/www/web7*/web/bmres*/ -maxdepth 1 -type d | awk '{print "cp -f /home/searchfeed.php "$1""}'
echo bm7
find /var/www/web8*/web/bmres*/ -maxdepth 1 -type d | awk '{print "cp -f /home/searchfeed.php "$1""}'
echo bm8
find /var/www/web9*/web/bmres*/ -maxdepth 1 -type d | awk '{print "cp -f /home/searchfeed.php "$1""}'
echo bm9
##
##
##
find /var/www/web0*/web/site*/ -maxdepth 1 -type d | awk '{print "cp -f /home/searchfeed.php "$1""}'
echo site0
find /var/www/web1*/web/site*/ -maxdepth 1 -type d | awk '{print "cp -f /home/searchfeed.php "$1""}'
echo site1
find /var/www/web2*/web/site*/ -maxdepth 1 -type d | awk '{print "cp -f /home/searchfeed.php "$1""}'
echo site2
find /var/www/web3*/web/site*/ -maxdepth 1 -type d | awk '{print "cp -f /home/searchfeed.php "$1""}'
echo site3
find /var/www/web4*/web/site*/ -maxdepth 1 -type d | awk '{print "cp -f /home/searchfeed.php "$1""}'
echo site4
find /var/www/web5*/web/site*/ -maxdepth 1 -type d | awk '{print "cp -f /home/searchfeed.php "$1""}'
echo site5
find /var/www/web6*/web/site*/ -maxdepth 1 -type d | awk '{print "cp -f /home/searchfeed.php "$1""}'
echo site6
find /var/www/web7*/web/site*/ -maxdepth 1 -type d | awk '{print "cp -f /home/searchfeed.php "$1""}'
echo site7
find /var/www/web8*/web/site*/ -maxdepth 1 -type d | awk '{print "cp -f /home/searchfeed.php "$1""}'
echo site8
find /var/www/web9*/web/site*/ -maxdepth 1 -type d | awk '{print "cp -f /home/searchfeed.php "$1""}'
echo site9
##
##
Reply With Quote