in reply to Renaming all files in a directory
perl -we 'rename $_, "image" . $counter++ . ".jpg" for @ARGV' * [download]