Created
July 12, 2018 15:40
-
-
Save Delivator/c592ab987aab379ec9e5974e038df3ad to your computer and use it in GitHub Desktop.
Rename all .jpg images in a folder to a "img_####.jpg" format for easy ffmpeg usage.
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
$i = 1 | |
Get-ChildItem *.jpg | %{Rename-Item $_ -NewName ("img_{0:D4}.jpg" -f $i++)} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment