View Single Post
Old 12-05-2006, 08:55 PM  
Peacemaker
Confirmed User
 
Peacemaker's Avatar
 
Join Date: Feb 2002
Location: Mars
Posts: 897
#!/bin/bash

path="/htdocs/users/*/public_html/example.php"
for a in `ls $path`; do
perl -pi -e "s/OLDTEXT/NEWTEXT/goi" $a
done






you have to enter the right path.. cant exactly see how your folders / domains are structured .. should work. havent tested it :}
__________________
SEO since 2002 - Google Index Record: 32 minutes. - Selling SEO services and tools

Last edited by Peacemaker; 12-05-2006 at 08:57 PM..
Peacemaker is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote