gavinj.net

Thoughts on technology, infrastructure, and AI

Viewing posts tagged linux Clear filter

32 posts found

Python file magic

File magic is used on Linux and Unix systems as a binary "fingerprint" to tell what type a file actually is - this provides a much better result than MIME or filename extensions. The "magic" pattern i...