Better HN
topnewbestaskshowjobs
Log inSign up

filefile

6 karma · joined Aug 13, 2014 (12y ago) · 1 submissions

Submissions

comment 12y ago · link · parent

Not sure I agree with this recommendation... shared-mime-info database usually trails file(1) database by several years. Case in point: pcap-ng file format was added to file(1) in 2011; was added to mime-info database in 2013.

Also, file --mime FILENAME gets you the mime type.