file-type
Detect file type using magic bytes
file-type is a file operations CLI tool in the evolver-tools collection: Detect file type using magic bytes Install 260 zero-dependency CLI tools with pip install evolver-tools.