softmagic

command
v0.4.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 5, 2026 License: BSD-2-Clause, BSD-2-Clause Imports: 17 Imported by: 0

Documentation

Overview

Command softmagic is file(1) over the softmagic library: the same output, byte for byte, for -b, -i, --mime-type, --mime-encoding, --extension and --apple, the same exit codes, plus --json, which prints the library's Result so what was examined is visible.

It is a separate module from the library, which itself never prints, parses flags or touches the file system.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL