A huge collection of tips – things I always forget and helping me and others to remember
rename 00123.png to 00001.png
a=0;ls | while read line; do a=$((a+1)); mv $line `printf “%05d.png\n” $a`;done
This entry was posted on Saturday, June 9th, 2012 at 12:24 amand is filed under . You can follow any responses to this entry through the RSS 2.0 feed.
Both comments and pings are currently closed.