Mark's Tech Stuff
Programming solutions, source code, solutions to tech problems and other tech related stuff.
Tuesday, December 11, 2012
Linux recursively find and replace in files from command line using sed
find ./ -type f -exec sed -i 's/original_string/string_to_replace/' {} \;
As found on this page:
http://www.jonasblog.com/search-and-replace-in-all-files-within-a-directory-recursively
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment