To replace strings in multiple files, do the following:
$find -name '*.txt' -print0 | xargs -0 perl -pi -e 's/old/new/g'
Tuesday, May 6, 2008
Subscribe to:
Posts (Atom)
The purpose of this blog is to give knowledge back to the online community, which has given so much to me.