# commandlinefu.com by David Winterbottom # convert single digit to double digits rename 's/\d+/sprintf("%02d",$&)/e' -- $@