I want to find files of certain types under a directory. The extension part can have an arbitrary character case combination.
Path.wildcard("/...some path.../**/*.MPG")
The example above would only return files having uppercase .MPG
extension, while I'd also like to get the downcase .mpg
files along with whatever case combinations there could occur.
Is there a way to do that without listing all possible case combinations in the glob
? I'd like this to work on Windows, Linux and OS X.