|
From: Stephen W. <wa...@ul...> - 2001-03-14 11:25:17
|
Is there a simple way to query the MIME type data base from a shell script? I
tried using types.c from ROX-Filer, but it wants to be linked into other
parts of the code.
Actually could ROX-Filer do this itself, so that
rox --mime-type /path/wibble.txt
echoes 'text/plain' and
rox -m wubble.jpg
echoes 'image/jpeg'? I'll try that.
--
Stephen Watson wa...@ul...
Ultra Electronics Magnetics Division, Hednesford.
|