<div dir="ltr">I don't speak for the 'file' project maintainers.<br><br>Looks like a lot of good information here. But I feel like I must be missing something. Does the file on GitHub only include the first *line* of each pattern?<br><br>Consider these examples. (Note that these are the complete patterns. There are no ">" lines.)<br><br>0 string \x46\x4f\x52\x4d Amiga Metafile Format<br>0 string \x46\x4f\x52\x4d Extended MIDI Audio File<br>0 string \x46\x4f\x52\x4d FAXX IFF Facsimile Image<br>0 string \x46\x4f\x52\x4d IFF Amiga Contiguous BitMap<br><br>These are obviously not usable as they are.<br><br>Are your PRONOM patterns more strict than this? I know that not every PRONOM pattern can easily be converted to file's format. But if a pattern can't be converted properly, I'd think it should be rejected, not converted badly.</div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Thu, Apr 3, 2025 at 11:32 AM Gregory Lepore <<a href="mailto:greg@rhobard.com">greg@rhobard.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Greetings - for the past 5 years I have been working with the UK National Archives to develop file format signatures for the PRONOM database. Those signatures are very similar to those used by file. I have converted the roughly 1,600 format signatures I've created to the 'file' format and posted those signatures on my GitHub site at:<br><br><a href="https://github.com/gleporeNARA/pronom-research/tree/master" target="_blank">https://github.com/gleporeNARA/pronom-research/tree/master</a><br><br>The vast majority of these signatures are not currently being used by 'file'.<div><br></div><div><a href="https://github.com/gleporeNARA/pronom-research/blob/master/formats.txt" target="_blank">https://github.com/gleporeNARA/pronom-research/blob/master/formats.txt</a></div><div><br>lists an older set of formats that I have produced signatures for.<br><br><a href="https://github.com/gleporeNARA/pronom-research/blob/master/'file'%20magic%20file%20from%20PRONOM%20sigs" target="_blank">https://github.com/gleporeNARA/pronom-research/blob/master/'file'%20magic%20file%20from%20PRONOM%20sigs</a><br><br>is my collection of PRONOM signatures converted to 'file' format<br><br><a href="https://github.com/gleporeNARA/pronom-research/blob/master/PRONOM%20to%20'file'%20test%20files" target="_blank">https://github.com/gleporeNARA/pronom-research/blob/master/PRONOM%20to%20'file'%20test%20files</a><br><br>are the results of running file against my test corpus. As you can see, most of the formats are not recognized.</div><div><br></div><div>In addition to the format signature I have sample files and a brief writeup on each format.</div><div><br></div><div>I'm looking for help on how best to get these signatures into file.</div><div><br></div><div>Thanks!</div></div>
-- <br>
File mailing list<br>
<a href="mailto:File@astron.com" target="_blank">File@astron.com</a><br>
<a href="https://mailman.astron.com/mailman/listinfo/file" rel="noreferrer" target="_blank">https://mailman.astron.com/mailman/listinfo/file</a><br>
</blockquote></div><div><br clear="all"></div><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr">Jason Summers<div><br></div></div></div>