Skip to content

Latest commit

 

History

History
6 lines (4 loc) · 177 Bytes

sed.md

File metadata and controls

6 lines (4 loc) · 177 Bytes

replace string in multiple files: old with new

find . -name "*.js" -exec sed -i "s/old/new/g" '{}' ;

avoid hiddent folders

find . -not -path '/.' -type f -exec sed -i