ruby-magic

Ruby FFI bindings to libmagic

Description

This package provides a Ruby FFI wrapper to the "magic" library that determines content type and encoding of files and strings. The library does three types of tests: file system tests, magic number tests, and language tests. The first test that succeeds causes the file type to be returned.

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Homepage

https://github.com/qoobaa/magic


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install ruby-magic