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, simplistic coding things & reminders etc.
No comments:
Post a Comment