Skip to content

rename

append / prepend numbered sequence

remove -n to actually do any renaming

rename -n -X -N 00001 -e 's/.*/$N/' *.jpg

rename to lowercase

rename -f 'y/A-Z/a-z/' *

rename only file extension to lowercase

rename -f 's/([A-Z]+)$/\L$1/' *