Skip to content

Instantly share code, notes, and snippets.

@nguyenbathanh
Created April 6, 2016 03:39
Show Gist options
  • Save nguyenbathanh/57dd330d6e1c24408a54763aff00205c to your computer and use it in GitHub Desktop.
Save nguyenbathanh/57dd330d6e1c24408a54763aff00205c to your computer and use it in GitHub Desktop.
Ubuntu replace string in multiple files
find ./ -type f -exec sed -i 's/string1/string2/g' {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment