Skip to content

Instantly share code, notes, and snippets.

@Xotl
Created April 30, 2019 21:26
Show Gist options
  • Save Xotl/26a2d82140018ba502e912d7250a6b29 to your computer and use it in GitHub Desktop.
Save Xotl/26a2d82140018ba502e912d7250a6b29 to your computer and use it in GitHub Desktop.
Rename batch of files
// This command renames all .scss files in current directory into *.less
find . -name '*.scss' -exec sh -c 'mv "$0" "${0%.scss}".less' {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment