Created
July 21, 2022 09:49
-
-
Save EricBatlle/ccb7d68f1242f61791e91cccec391d57 to your computer and use it in GitHub Desktop.
Rename with powershell all files on a directory with sequenced names
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
ls | %{Rename-Item $_ -NewName ("{0}.png" -f $nr++)} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment