View Single Post
Old 08-19-2009, 09:32 PM  
mlove
the guy
 
mlove's Avatar
 
Industry Role:
Join Date: Apr 2005
Posts: 764
Can't do it in FTP, but if you run this in ssh, it will work as long as you have the 'replace' application installed

find /home/yourusername/path/to/your/files/ -exec replace "original string" "new string" -- {} \;

Otherwise, you can use sed:

find /home/yourusername/path/to/your/files/ -exec sed -i "s/original string/new string/" {} \;
__________________
If you won't feel as good, I won't feel as cheap.
mlove is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote