Last active
July 6, 2020 07:14
-
-
Save vatz88/33310d46465093f0efbfad33307b53b8 to your computer and use it in GitHub Desktop.
Recursively delete all files with particular extension
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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