Skip to content

Instantly share code, notes, and snippets.

@theCrab
Created September 26, 2016 17:51
Show Gist options
  • Save theCrab/6b93e1bd1150feb62c522cb913395779 to your computer and use it in GitHub Desktop.
Save theCrab/6b93e1bd1150feb62c522cb913395779 to your computer and use it in GitHub Desktop.
UNIX Rename files in a multi level folder structure
for file in ./sass/_*.scss; do
mv $file ${file//[_]}.scss # remove all underscores '_'
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment