13 December 2007 By Brandon 0 In Work
Using perl of coarse. It took me a second to get this to work; but its pretty easy:
perl -pi.bak -e ‘s/string1/string2/g’
Trackback URL
Name
Mail (will not be published)
Website
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>
Protected by Invisible Defender. Showed 403 to 56,755 bad guys.
« Zen with Xen + a terrible perl program
I made a newegg wish list for a quiet home server. »
No Comments on "How to make a backup + perform a search and replace on multiple files."