Skip to content

Auto-detect file types via `libmagic` (`file` utility)

License

Notifications You must be signed in to change notification settings

carlopi/duckdb_magic

Repository files navigation

magic

This repository is based on https://github.com/duckdb/extension-template, check it out if you want to build and ship your own DuckDB extension.


This extension, Magic, allow you to examine files and determine their type, based on https://man7.org/linux/man-pages/man3/libmagic.3.html linux utility.

Building

VCPKG_TOOLCHAIN_PATH='/path/to/vcpkg/scripts/buildsystems/vcpkg.cmake' GEN=ninja make
-- or possibly without ninja
VCPKG_TOOLCHAIN_PATH='/path/to/vcpkg/scripts/buildsystems/vcpkg.cmake' make

About

Auto-detect file types via `libmagic` (`file` utility)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages