I’m trying to use pattern matching to find all files within a directory that have an extension of either .jpg or jpeg.
ls *.[jJ][pP][eE][gG] <- this obviously will only find the .jpeg file extension. The question is, how do I make the [eE optional?
Match harder.