xref: /freebsd/contrib/file/magic/Magdir/warc (revision b3e7694832e81d7a904a10f525f8797b753bf0d3)
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