I have a bunch of files named like so:
output_1.png output_2.png ... output_10.png ... output_120.png
What is the easiest way of renaming t
I actually just needed to do this on OSX. Here's the scripts I created for it - single line!
> for i in output_*.png;do mv $i `printf output_%04d.png $(echo $i | sed 's/[^0-9]*//g')`; done