Skip to content

Find file and replace content with sed

find . -type f -exec sed -i 's/old/new/g' {} \;

 

Leave a Reply

Your email address will not be published. Required fields are marked *

π