One-liner recursive grep + sed search and replace for php or other file types:
grep "subject" * -rl --include=*.php | xargs sed -i -e 's/subject/replacement/g'
One-liner recursive grep + sed search and replace for php or other file types:
grep "subject" * -rl --include=*.php | xargs sed -i -e 's/subject/replacement/g'
Comments are closed.