FILETYPE(1)

✨ FILETYPE ✨

okay bestie, say hi to filetype β€” the little icon that infers the file type AND the MIME type of literally any file or buffer πŸ’… it's giving detective energy and honestly? obsessed.


🌸 NAME 🌸

filetype β€” Infer file type and MIME type of any file/buffer. πŸ¦‹


πŸ” DESCRIPTION πŸ”

so rn, these are the patterns it recognises πŸ‘‘ no cap, this is the whole list, nothing sneaky added:

  • 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.

🫢 SYNOPSIS 🫢

okay here's how you actually run it, copy-paste ready bestie:

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

Determine type of FILEs. 🌈

πŸ’œ positional arguments:

  • file β€” the file(s) you're throwing at it, yeah you can pass more than one, she's flexible like that 🧚

πŸ’€ optional arguments:

  • -h, --help β€” show this help message and exit. your little "wait what was I doing" safety net πŸ™ˆ
  • -v, --version β€” output version information and exit. for when you need to know exactly which queen you're running πŸ‘‘

fr fr, that's the whole page. every pattern, every flag, every vibe. nothing skipped, nothing invented, main character behaviour only. πŸ’…

okay that's a wrap!! πŸŽ€ this lil gem is filetype version 1.0.9, dated January 2022 β€” from the User Commands corner of your manual. go check some file types, you're gonna slay. mwah πŸ’–βœ¨