quick howto
my collections of howtos
Thursday, October 22, 2015
How to search and replace in multiple files
In Mac OSX, recursively using sed, from
foo
into
bar
:
find . -type f -exec sed -i '' -e 's/
foo
/
bar
/g' {} \;
Older Posts
Home
Subscribe to:
Posts (Atom)