Sometimes it seems that the standard
file command (5.04 on my Ubuntu system) is not sophisticated enough (or I am just using it wrong, which could well be).
For example when I run it on an
.exe file, and I am quite positive that it contains some archive, I would expect output like this:
$ improved-file foo.exe foo.exe: PE32 executable for MS Windows (GUI) Intel 80386 32-bit .zip archive included (just use unzip to extract)
- It doesn't detect concatenations of different formats
- It doesn't detect common file formats, e.g. .epub, which is just a .zip container with some standardized .xml files etc. inside (
An example of such a .exe file containing an archive - I guessed some archive-formats and tried the corresponding unpack-commands with a trial'n'error approach - which worked in the end - but I would rather prefer a more auto-inspection oriented workflow.