Created
February 1, 2012 15:38
-
-
Save ericdfields/1717578 to your computer and use it in GitHub Desktop.
Bash convert all your SCSS to SASS in one line (because you've seen the light)
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
for f in *.scss; do sass-convert -F scss -T sass $f ${f%%.*}.sass; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
//no need for recursion in bash, just replace directory name with either . for the current directory or the path you require
sass-convert -F scss -T sass -R directory_name