Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Convert SASS to SCSS and delete .sass files (applies to all files in current folder)
sass-convert -R ./ -F sass -T scss && rm *.sass
@misterhtmlcss

This comment has been minimized.

Copy link

misterhtmlcss commented May 27, 2016

Is this on any command line or do I need a specific file to be installed or what.. This is something I really really wanted to use, but it's too self-explanatory to try without being 100% certain first. Your thoughts and further explanation would be appreciated.

@ShaggyDude

This comment has been minimized.

Copy link

ShaggyDude commented Jun 2, 2016

Just ran it on a project called bulma. it worked great but didn't delete .sass files in subfolders.

@yass09

This comment has been minimized.

Copy link

yass09 commented Jun 30, 2016

Same here, sass files are still here

@Nezteb

This comment has been minimized.

Copy link

Nezteb commented Aug 16, 2016

To do recursive delete of .sass files in subfolders:

sass-convert -R ./ -F sass -T scss && find . -type f -name '*.sass' -delete

@dfosco

This comment has been minimized.

Copy link

dfosco commented Aug 18, 2016

Thanks @Nezteb 😄

@smilemakc

This comment has been minimized.

Copy link

smilemakc commented Oct 5, 2016

Thanks!

@rtackett

This comment has been minimized.

Copy link

rtackett commented Oct 11, 2016

@Nezteb code worked like a charm. Save me a lot of time. Thanks

@tanduong

This comment has been minimized.

Copy link

tanduong commented Oct 19, 2016

@Nezteb I can't find the "like" button ;)

@justgeek

This comment has been minimized.

Copy link

justgeek commented Dec 2, 2019

Thanks @Nezteb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.