Skip to content

How to convert all filenames in a directory to lowercase on linux

June 9, 2012 Commandline

This post will show you how to convert all filenames in a directory to lowercase (or uppercase). This is on that I don’t use often, so I’m adding it here in order to find it later on, hopefully!


convmv --lower --notest *

you can use *.jpg to rename all jpeg images, etc
–upper in place of –lower will make the files uppercase instead

You must be <a href="https://jonathansblog.co.uk/wp-login.php?redirect_to=https%3A%2F%2Fjonathansblog.co.uk%2Fhow-to-convert-all-filenames-in-a-directory-to-lowercase-on-linux">logged in</a> to post a comment.