Last active
August 29, 2015 14:13
-
-
Save leonelgalan/49b8ea9b33f221a092ab to your computer and use it in GitHub Desktop.
Remove .js and .css from .coffee and .scss files
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 '*.js.coffee' -type f | while read NAME ; do mv "${NAME}" "${NAME%.js.coffee}.coffee" ; done | |
find . -name '*.css.scss' -type f | while read NAME ; do mv "${NAME}" "${NAME%.css.scss}.scss" ; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment