Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

How to replace a string in multiple files in linux command line

cd /path/to/your/folder
sed -i 's/foo/bar/g' *
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #How #replace #string #multiple #files #linux #command #line
ADD COMMENT
Topic
Name
1+3 =