fc-scan
Scan font files or directories and print pattern information for each face found. tldr-pages
On several platforms
Several platforms
Scan a font file
fc-scan path/to/font_fileIdentifyScan a directory of fonts recursively
fc-scan path/to/directoryIdentifyScan multiple files or directories
fc-scan path/to/font1.ttf path/to/font2.otf ...IdentifyPrint results without including font sizes
fc-scan --brief path/to/font_fileIdentifyPrint results using a custom output format
fc-scan --format "%{family}\n" path/to/font_fileIdentifyDisplay help
fc-scan --helpIdentifyDisplay version
fc-scan --versionIdentify