Sujet : Re: Something I Never Fucking Knew
De : ff (at) *nospam* linux.rocks (Farley Flud)
Groupes : comp.os.linux.advocacyDate : 23. Jun 2024, 12:39:54
Autres entêtes
Organisation : UsenetExpress - www.usenetexpress.com
Message-ID : <17db9bfd48b4a80d$177415$3053472$802601b3@news.usenetexpress.com>
References : 1 2 3 4 5
On Sun, 23 Jun 2024 06:10:05 -0000 (UTC), candycanearter07 wrote:
Hm.. maybe you could try `file -k`?
(print all possible matches rather than just the strongest match)
>
file -k Aspirin.epub
Aspirin.epub: EPUB document\012- Zip archive data, made by v2.0\012- ,
extract using at least v2.0\012- , last modified, last modified
Sun, Aug 22 2014 17:12:38, uncompressed size 20, method=store\012-
Zip archive, with extra data prepended\012- data
file -k Offal.epub
Offal.epub: EPUB document\012- data
file -k X15.epub
X15.epub: EPUB document\012- data
It seems that the EPUB contains some sort of extra data that
will distinguish it from an ordinary zip file.
The same applies to Open Document (i.e. Libreoffice) files,
which are also ZIP format but reported by file as Open Document.