Skip to content

Instantly share code, notes, and snippets.

@ericdfields
Created February 1, 2012 15:38
Show Gist options
  • Save ericdfields/1717578 to your computer and use it in GitHub Desktop.
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)
for f in *.scss; do sass-convert -F scss -T sass $f ${f%%.*}.sass; done
Copy link

ghost commented Oct 1, 2012

//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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment