Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save DannyNunez/4478927 to your computer and use it in GitHub Desktop.

Select an option

Save DannyNunez/4478927 to your computer and use it in GitHub Desktop.
Dir *.jpeg | rename-item -newname { $_.name -replace ".jpeg",".jpg" }
Dir *.php | rename-item -newname { $_.name -replace ".php",".html" }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment