I have a lot of files that have random generated names like notqr64SC51ruz6zso3_250.gif
and I would like to rename them to simply 1.gif
, 2.gif
etc.
What would be the best way to accomplish this?
I have a lot of files that have random generated names like notqr64SC51ruz6zso3_250.gif
and I would like to rename them to simply 1.gif
, 2.gif
etc.
What would be the best way to accomplish this?
A simple UNIX shell script:
If you need padding:
Under Windows you can use a (similar) batch file:
Rename Multiple files with in Dos batch file
If you can use Python: