notes/grep_sed.md
Paul Trowbridge 2a6f1c5dcf redis
2020-01-12 21:28:28 -05:00

2 lines
119 B
Markdown

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