Answers for "how to replace a string in all files in a directory"

14

linux replace string in all files

sed -i 's/old-text/new-text/g' input.txt
Posted by: Guest on March-31-2020

Code answers related to "how to replace a string in all files in a directory"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language