> > > I'm going to learn this stuff one of these days. Maybe if I weren't > > > maintaining four separate operating systems on a daily basis I'd have tim > e > > > to learn one. > > > > Gee..only 4....you should have all kinds of time ;o) > > Tip btw /etc/mime.types lists mime types and also endings assumed for some > of them. Also if you can't work out what something is > > file filename > > eg > > %file core > core: ELF 32-bit LSB core file of 'mgp' (signal 11), Intel 80386, version 1, > from 'mgp' > %file image.jpg > image.jpg: JPEG image data, EXIF standard 0.73, 10752 x 2048 > %file aml.doc > Microsoft Office Document
I got caught by file "not working" recently. I created some backup files with afio, and file recognised them all as CPIO archives. It did not recognise any as being compressed no matter how I told afio to compress. I finally figured that afio compresses files individually (I did know that) and what's written to the file is substantially what cpio would write if it was storing an already-compressed file. Whatever afio uses to distinguish between the two isn't used by file. A hex dump of the start of the files didn't illuminate it for me either. -- Cheers John Summerfield Microsoft's most solid OS: http://www.geocities.com/rcwoolley/ Note: mail delivered to me is deemed to be intended for me, for my disposition. ============================== If you don't like being told you're wrong, be right!
