Created
January 18, 2019 17:20
-
-
Save hebertluiz/692270b0de0c74d752f10362dbd27fb6 to your computer and use it in GitHub Desktop.
File rename batch powershell
This file contains 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
# Expecify below the filetype (extension) | |
# Change the expression {0:D3} to alter the naming scheme | |
$i=1; Get-ChildItem *.jpg | %{Rename-Item $_ -NewName ('{0:D3}.jpg' -f $i++)} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment