Category: Linux

Find and Replace Linux

find . -name '*.php' -type f | xargs perl -pi -e 's/$StringToFind/$StringToReplace/g'

Tags:

Linux

How useful was this post?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate this post.