From 43b34f87cdaa58a09325def440b457a7163e06d4 Mon Sep 17 00:00:00 2001 From: Christos Zoulas Date: Sat, 29 Apr 2023 17:26:58 +0000 Subject: Add extension and mime type for sqlite (Joerg Jenderek) --- magic/Magdir/sql | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'magic') diff --git a/magic/Magdir/sql b/magic/Magdir/sql index 8a91d70e..00f36179 100644 --- a/magic/Magdir/sql +++ b/magic/Magdir/sql @@ -1,6 +1,6 @@ #------------------------------------------------------------------------------ -# $File: sql,v 1.25 2023/01/06 17:32:32 christos Exp $ +# $File: sql,v 1.26 2023/04/29 17:26:58 christos Exp $ # sql: file(1) magic for SQL files # # From: "Marty Leisner" @@ -88,8 +88,14 @@ # Version 1 used GDBM internally; its files cannot be distinguished # from other GDBM files. # +# Update: Joerg Jenderek +# Reference: http://mark0.net/download/triddefs_xml.7z/defs/s/sqlite-2x.trid.xml +# Note: called "SQLite 2.x database" by TrID and "SQLite Database File Format" version 2 by DROID via PUID fmt/1135 # Version 2 used this format: 0 string **\ This\ file\ contains\ an\ SQLite SQLite 2.x database +!:mime application/x-sqlite2 +# FileAttributesStore.db test.sqlite2 +!:ext sqlite/sqlite2/db # URL: https://en.wikipedia.org/wiki/SQLite # Reference: https://www.sqlite.org/fileformat.html -- cgit v1.2.1