home.social

#libmagic — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #libmagic, aggregated by home.social.

  1. magika by google clearly outperform legacy file-matching libraries like libmagic and file utility but requires a python dependency. man at this point i hate doing pip for nuts, i am going no-dependency rule, but magic is 474443 bytes, libmagic.a is 38588 bytes. i should roll out my own for C

    #libmagic #unix

  2. Anyone out there wanting to use #libmagic on #Windows, and finding the situation quite unworkable, this seems like a decent parallel, I'll be taking it for a spin soon. github.com/cdgriffith/puremagic (and it's 100% #python !) I also like that you can kinda find polyglots by getting back all the ways a file could match, in confidence order.

  3. Anyone out there wanting to use #libmagic on #Windows, and finding the situation quite unworkable, this seems like a decent parallel, I'll be taking it for a spin soon. github.com/cdgriffith/puremagic (and it's 100% #python !) I also like that you can kinda find polyglots by getting back all the ways a file could match, in confidence order.

  4. Anyone out there wanting to use #libmagic on #Windows, and finding the situation quite unworkable, this seems like a decent parallel, I'll be taking it for a spin soon. github.com/cdgriffith/puremagic (and it's 100% #python !) I also like that you can kinda find polyglots by getting back all the ways a file could match, in confidence order.

  5. Anyone out there wanting to use #libmagic on #Windows, and finding the situation quite unworkable, this seems like a decent parallel, I'll be taking it for a spin soon. github.com/cdgriffith/puremagic (and it's 100% #python !) I also like that you can kinda find polyglots by getting back all the ways a file could match, in confidence order.

  6. Anyone out there wanting to use #libmagic on #Windows, and finding the situation quite unworkable, this seems like a decent parallel, I'll be taking it for a spin soon. github.com/cdgriffith/puremagic (and it's 100% #python !) I also like that you can kinda find polyglots by getting back all the ways a file could match, in confidence order.

  7. #Linux people, how often is the file / #libmagic database updated?

  8. #Linux people, how often is the file / #libmagic database updated?

  9. #Linux people, how often is the file / #libmagic database updated?

  10. #Linux people, how often is the file / #libmagic database updated?

  11. #Linux people, how often is the file / #libmagic database updated?