perl -e 'while(<*.png>){$n=sprintf("%02d",++$i,$_);rename($_,$n."frumpus\.png")}'
append an ascending number to all the files in a directory: ie "27frumpus.png"
Saturday, February 21, 2009
Subscribe to:
Posts (Atom)
things that I need to remember, would like to build, simplistic coding things & reminders etc.