notes/grep_sed.md
2018-09-17 09:40:49 -04:00

2 lines
118 B
Markdown

find and replace a word in an entire directory
`grep -rl target_word ./ | xargs sed -i 's/target_word/replace_word/g'`