Programming Q&A
Thursday, November 12, 2015
How to replace string in all files recursively on Linux?
Next Linux command replaces string 'old_data' by string 'new_data' in all files in current directory on Linux:
find . -type f -exec sed -i 's/old_data/new_data/g' {} +
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)