Skip to content

Instantly share code, notes, and snippets.

@vatz88
Last active July 6, 2020 07:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vatz88/33310d46465093f0efbfad33307b53b8 to your computer and use it in GitHub Desktop.
Save vatz88/33310d46465093f0efbfad33307b53b8 to your computer and use it in GitHub Desktop.
Recursively delete all files with particular extension
find . -name '*.coffee' \
-exec rm {} \;
// builk rename
// remove echo
for file in **/*.es6
do
echo mv "$file" "${file/.es6/}.js"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment