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"
Subscribe to:
Post Comments (Atom)
things that I need to remember, would like to build, enterprise-level stuff (or so I'm told), simplistic coding things...
0 comments:
Post a Comment