Return to Snippet

Revision: 5723
at March 30, 2008 19:34 by chrisaiv


Initial Code
grep -rl target_string . | xargs perl -pi~ -e 's/target_string/replacement_string/g'

Initial URL

                                

Initial Description
I had a string within multiple files which were also within multiple folders that I wanted to replace

Initial Title
Find and Replace a string in a textfile within multiple folders

Initial Tags

                                

Initial Language
Perl