Skip to content

Instantly share code, notes, and snippets.

@nonplus
Created October 14, 2016 20:24
Show Gist options
  • Save nonplus/89c9aad6133d3d0135771951506eb032 to your computer and use it in GitHub Desktop.
Save nonplus/89c9aad6133d3d0135771951506eb032 to your computer and use it in GitHub Desktop.
Rename *.jade to *.pug in git
for file in $(git ls-files *.jade); do git mv $file $(echo $file | sed -e 's/\([^/]*\).jade/\1.pug/'); done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment