how to rename files with count
Posted
by
nkint
on Ask Ubuntu
See other posts from Ask Ubuntu
or by nkint
Published on 2012-09-13T18:45:44Z
Indexed on
2012/09/13
21:49 UTC
Read the original article
Hit count: 485
i have a directory like this:
randomized_quad015.png
randomized_quad030.png
randomized_quad045.png
randomized_quad060.png
randomized_quad075.png
randomized_quad090.png
randomized_quad1005.png
randomized_quad1020.png
randomized_quad1035.png
randomized_quad1050.png
randomized_quad105.png
randomized_quad1065.png
randomized_quad1080.png
randomized_quad1095.png
randomized_quad1110.png
randomized_quad1125.png
randomized_quad1140.png
and i want to rename the first files adding 0 in front of number, like:
randomized_quad0015.png
but i don't know how.. some help?
© Ask Ubuntu or respective owner