Find and Replace File Content using Linux Command Line

Written by

in

,


find . -name "*.pgsql" -print | xargs sed -i 's/STRINGTOREPLACE/REPLACERSTRING/g'

Comments

Leave a Reply

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