I’m struggling to write a regular expression to find all my mp3 files. I want to pipe out all files with the last four characters being either .mp3 .Mp3 .mP3 or .MP3
What’s the correct pattern that should follow –regexp?
find /myMusic -type f | grep --regexp
The
-inamematches the name (*.mp3here) ignoring case.