Forked from anonymous/batch process - change file extenstions
Last active
December 10, 2015 19:08
-
-
Save DannyNunez/4478927 to your computer and use it in GitHub Desktop.
code is from this site: http://tweaks.com/windows/49459/batch-file-rename-with-windows-powershell/
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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