Public service announcement:
apparently any expression in Bash that uses wildcards is not case-sensitive.
Example:
Let's say you have the files `photo1.jpg` and `photo1.JPG` in the same directory, and want to delete the `JPG` version.
`rm photo1.JPG`
deletes only the capitalized version
`rm photo*.JPG` or `rm photo?.JPG`
deletes both!
...and now I know, at the cost of around 20 photos that I can't get back because I have still not to set up a good backup for my photo collection, and they're too old to still be on the SD card 😨
I don't think this is very consistent, and I *definitely* did not expect to learn this some 25 years after I started to use Linux.
Solution:
`rm *.[J]pg`
deletes only the JPG files, which I find **weird AF**








