ajgiampa
Posts: 6
Joined: Fri Jun 07, 2013 2:32 pm

Filename Extension Case Sensitivity

Sun Jul 12, 2015 1:00 am

I'm trying to run a QIV slideshow composed of all the JPEG files in a directory. The QIV command uses the *.jpg wildcard, but some of the JPEG files I'm using have their file extensions capitalized, such as DSC123.JPG instead of DSC123.jpg.

Is there a way to issue command line commands and not have the file extension be case sensitive. I'd like the QIV image program to read all JPEG files, regardless of the case of the actual file extension.

Thanks...

ame
Posts: 3172
Joined: Sat Aug 18, 2012 1:21 am
Location: New Zealand

Re: Filename Extension Case Sensitivity

Sun Jul 12, 2015 1:49 am

In Linux things are case-sensitive, because that's the Right Thing to do.

You could fuss with QIV, or you could rename all of your files to have a lower-case extension.

Here's the QIV homepage, with a list of command options:
http://spiegl.de/qiv/

Here's a discussion on renaming files (Google has millions more):
http://www.linuxjournal.com/content/con ... -lowercase

User avatar
jojopi
Posts: 3274
Joined: Tue Oct 11, 2011 8:38 pm

Re: Filename Extension Case Sensitivity

Sun Jul 12, 2015 1:53 am

You can match both cases by writing *.jpg *.JPG, or all possible combinations with *.[jJ][pP][gG].

ajgiampa
Posts: 6
Joined: Fri Jun 07, 2013 2:32 pm

Re: Filename Extension Case Sensitivity

Mon Jul 13, 2015 12:55 pm

This worked perfectly...thanks!

Return to “Beginners”