Skip to content

Instantly share code, notes, and snippets.

@kennedysgarage
Created December 1, 2013 21:58
Show Gist options
  • Save kennedysgarage/7741384 to your computer and use it in GitHub Desktop.
Save kennedysgarage/7741384 to your computer and use it in GitHub Desktop.
Git rename file extension
for i in *.php; do git mv "$i" "${i/.php}".html; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment