Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

pad numbers



Hello friends!

I have a problem that I am sure numerous people have faced before, but I couldn't find a lot of help for on Google.  I have a bunch of files named like this:
01
02
03
...
10
11
12
...
101
102
103

How can I easily rename all the files so that they will be like this:
001
002
003
...
010
011
012
...
101
102
103 ( hundreds stay the same)


Thanks for any tips.
--

-fREW


Messages sorted by: Reverse Date, Date, Thread, Author