logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

filetype - Infer file type and MIME type of any file/buffer.

Description

       Currently, the following patterns are recognised:

       - Image: bmp, cr2, dwg, gif, heic, ico, jpg, jpx, jxr, png, psd, tif, xcf, webp.

       - Video: avi, flv, m4v, mkv, mov, mp4, mpg, webm, wmv, 3gpp.

       - Audio: aac, aiff, amr, flac, m4a, mid, mp3, ogg, wav.

       -  Archive:  ar,  br,  bz2, cab, crx, dcm, deb, eot, epub, exe, gz, lz, lzo, lz4, nes, pdf, ps, rar, rpm,
       rtf, sqlite, swf, tar, xz, zip, Z, 7z.

       - Font: otf, ttf, woff, woff2.

       - Application: wasm.

Name

       filetype - Infer file type and MIME type of any file/buffer.

Synopsis

       usage: filetype [-h] [-v] file [file ...]

       Determine type of FILEs.

   positionalarguments:
              file

   optionalarguments:-h, --help
              show this help message and exit

       -v, --version
              output version information and exit

filetype 1.0.9                                    January 2022                                       FILETYPE(1)

See Also