Skip to content

Instantly share code, notes, and snippets.

@goonoo
Created January 14, 2018 05:24
Show Gist options
  • Save goonoo/a63033bc56df5d00415d43ea5cebd4fb to your computer and use it in GitHub Desktop.
Save goonoo/a63033bc56df5d00415d43ea5cebd4fb to your computer and use it in GitHub Desktop.
Find and replace all multi files in Mac OS
find . -type f -name '*.coffee' -exec sed -i '' 's/replace_from_string/replace_to_string/' {} +
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment