steffenfritz / FileTrove

FileTrove indexes files and creates metadata from them.
https://filetrove.fritz.wtf
GNU Affero General Public License v3.0
28 stars 5 forks source link

[CHANGE] Add libmagic for cross check with siegfried #1

Open steffenfritz opened 11 months ago

steffenfritz commented 11 months ago

Is your feature request related to a problem? Please describe. To use siegfried as the only sourfe for file identification is not a good idea as there might be wrong identifications.

Describe the solution you'd like libmagic can be easly added and its identification can be cross checked with sf's results.

dla-kramski commented 6 months ago

I like the idea of including libmagic as another format recognition tool.

However, the column names such as filesfformatname would then have to clearly indicate which tool they come from.

I would also advise against evaluating libmagic and Siegfried results and postulating a common "main format" in case of recognition conflicts (or in general). That is a decision that should be made by the users.

steffenfritz commented 6 months ago

filesfformatname is always siegfried (the "sf" infix). magic should have its own column, yes.