cara mengganti nama file berurutan di ubuntu

ls -v | cat -n | while read n f; do mv -n "$f" "$n.ext"; done 
Naughty Nightingale