xref: /freebsd/contrib/file/magic/Magdir/warc (revision a03411e84728e9b267056fd31c7d1d9d1dc1b01e)
1
2#------------------------------------------------------------------------------
3# $File: warc,v 1.4 2019/04/19 00:42:27 christos Exp $
4# warc:  file(1) magic for WARC files
5
60	string	WARC/	WARC Archive
7>5	string	x	version %.4s
8!:mime application/warc
9
10#------------------------------------------------------------------------------
11# Arc File Format from Internet Archive
12# see https://www.archive.org/web/researcher/ArcFileFormat.php
130      string          filedesc://     Internet Archive File
14!:mime application/x-ia-arc
15>11    search/256      \x0A    \b
16>>&0   ubyte   >0      \b version %c
17