Skip to content

Instantly share code, notes, and snippets.

@randomwangran
Created October 24, 2019 02:03
Show Gist options
  • Select an option

  • Save randomwangran/d61ac746fa125cd0eb8f055191504a47 to your computer and use it in GitHub Desktop.

Select an option

Save randomwangran/d61ac746fa125cd0eb8f055191504a47 to your computer and use it in GitHub Desktop.
find /path/to/files -type f -exec sed -i 's/oldstring/new string/g' {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment