Thread
:
Linux GURUS pls help - mass replace
View Single Post
01-23-2006, 04:22 AM
PussyTeenies
Confirmed User
Join Date: Feb 2005
Location: Haarlem and Amsterdam, capital of the porn world ;-)
Posts: 6,496
assuming xxx.html is to be replaced by yyy.html
for i in $(ls -1 *);do sed 's/xxx.html/yyy.html/g' $i ; done
for i in $(ls -1 */*);do sed 's/xxx.html/yyy.html/g' $i; done
__________________
Need adult hosting?
Contact us!
WARM Hosting
Need an IT solution? or someone to check your site and security?
Nossie - IT Professional
PussyTeenies
View Public Profile
Visit PussyTeenies's homepage!
Find More Posts by PussyTeenies