Last active
February 14, 2018 12:13
-
-
Save leemour/bb7721c83b1f996cfc7c96dcbac812b3 to your computer and use it in GitHub Desktop.
Change file extensions. Change from .css.scss to .scss
This file contains hidden or 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 app/assets/stylesheets -name "*.css.scss" -exec rename 's/\.css.scss$/.scss/' '{}' \; | |
#!/bin/sh | |
for file in $(find ./app/assets/stylesheets/ -name "*.css.scss") | |
do | |
git mv $file `echo $file | sed s/\.css//` | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment