[nylug-talk] renaming batches of files

Martin A. Brown martin-nylug at wonderfrog.net
Fri May 9 11:18:00 EDT 2003


 : > I thought of 'seq' but didnt remember the -q. Neat. But say I want a
 : > string length of 5 (00000) for seq num from 1 to 100, it wont do it. It
 : > would show 001 .. 100 not 00001 .. 00100.
 :
 : Easy:
 : seq -f "%05g" 1 100

Too cool!  Thanks for the trick Mordy!  I'm going to put this in my
bag of shell tricks.

Heh!

-Martin



More information about the nylug-talk mailing list