Skip to content

Instantly share code, notes, and snippets.

@kevin-smets
Created March 1, 2015 21:57
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save kevin-smets/17f68d68115e3b826b62 to your computer and use it in GitHub Desktop.
Save kevin-smets/17f68d68115e3b826b62 to your computer and use it in GitHub Desktop.
Converts all sass files (recursively) to scss in a git repo (rename should get picked up so history is still tied to the converted file).
find . -type f -name "*.sass" -exec bash -c 'sass-convert ${0} -i --to scss; git mv ${0} ${0%.sass}.scss' {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment