Good morning Jon, > > Does it return something like "image/jpeg; charset=binary"? > > No, I get just "regular file", both for the .d files and for .jpg files. > > If I use "file -bI" instead, I get "image/jpeg".
That's what I suspected. The 'file' command behaves different on Linux and Mac (-bI vs -bi). We must either dispatch depending on the '*OS' global, or find a portable way. Cheers, - Alex -- UNSUBSCRIBE: mailto:picol...@software-lab.de?subject=unsubscribe