How do I check if a file is an image in applescript or shell script. I am aware of the file command but it doesn't say if it is an image or not.
what about checking mime type of the file?
file --mime
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With