Tag Archives: shell

Find and replace contents of files recursively

find ./ -name ‘*.pm’ -exec sed -i -e ‘s/oldtext/newxtext/’ "{}" \;

Posted in Uncategorized | Tagged | Leave a comment