linux search & replace multiple files

just note...

find . -name '*.php' -print | xargs sed -i -e 's/OLD-STRING/NEW-STRING/g'

find ./ -type f -print | xargs sed -i -e 's/OLD-STRING/NEW-STRING/g'

Comments

Popular posts from this blog

3G Bandwidth bonding solutions

Charles, Java Web Debugging Proxy