Articles :: View

Find and Replace string in files using SED on Linux

find /path/to/search -type f -name "*.php" -print | xargs sed -i 's/foo/bar/g'


Comments

Be the first to add a comment!