Skip to content

Instantly share code, notes, and snippets.

@shalzz
Last active September 6, 2018 05:45
Show Gist options
  • Save shalzz/5386286 to your computer and use it in GitHub Desktop.
Save shalzz/5386286 to your computer and use it in GitHub Desktop.
[File Rename Script] #windows
@ECHO OFF
FOR /l %%n IN (159,1,179) DO (
FOR /D %%d IN (*%%n*) DO (
FOR /L %%a IN (1,1,30) DO (
rename "%%d\*[%%a].jpg" "%%a.jpg"
)
)
)
echo DONE!!!
@pause
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment