Use --mime instead of -I/-i
This is rather a nitpick, but there's the --mime
argument, which should be consistent across both macOS and GNU/Linux. I've replaced the if condition with that instead of the ambiguous -I
/-i
(macOS and GNU/Linux, respectively).
Works on Arch GNU/Linux with kernel built on Thu, 16 Jul 2020 19:34:49 +0000
.