PiRSquared17 / warc-tools

Automatically exported from code.google.com/p/warc-tools
0 stars 0 forks source link

SRS 54 — A magic number for WARC shall be created and incorporated in the “file” mime-type database, enabling the simple identification of WARC files via the Unix "file" command #60

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
SRS 54 — A magic number for WARC shall be created and incorporated in the
“file” mime-type database, enabling the simple identification of WARC files
via the Unix "file" command

Original issue reported on code.google.com by gordon.p...@gmail.com on 27 Jul 2008 at 10:16

GoogleCodeExporter commented 9 years ago
how do I validate this ??? - can I update my file command or my local database 
of
magicnumbers ??

Original comment by bjarne.a...@gmail.com on 14 Sep 2008 at 5:32

GoogleCodeExporter commented 9 years ago
The support of WARC is complete with file. No need for a magic number as the 
file author suggested.
Read this new announcement.

The WARC file format is officially supported by the UNIX/Linux command "file" 
since the version "4.26" (ftp://ftp.astron.com/pub/file/file-4.26.tar.gz). 
"file" is now able to recognize a WARC file as follow:

$ file foo.warc
$ file -z foo.warc.gz

Original comment by voidptr...@gmail.com on 14 Sep 2008 at 9:12

GoogleCodeExporter commented 9 years ago
verified and tested with a bunch of WARC/0.17 files. Did some testing on illegal
files as well - these fail - I suppose thats the right behaviour.

Original comment by bjarne.a...@gmail.com on 28 Oct 2008 at 7:16