Return to Snippet

Revision: 62255
at February 12, 2013 03:02 by ef


Initial Code
sed -i.backup -e 's/sth/sth-new/g' *

Initial URL

                                

Initial Description
Replaces string 'sth' with 'sth-new' in all files in current directory.

Initial Title
sed replace in Mac OS X

Initial Tags
mac, replace

Initial Language
Bash