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 πβ¨
π¦ where this page comes from
- debian bookworm: python3-filetype 1.2.0-1 Β· MIT
- debian trixie: python3-filetype 1.2.0-1 Β· MIT
- ubuntu jammy: python3-filetype 1.0.10-2 Β· MIT
- ubuntu noble: python3-filetype 1.2.0-1 Β· MIT
- ubuntu questing: python3-filetype 1.2.0-1
- ubuntu resolute: python3-filetype 1.2.0-1build1 Β· MIT
- ubuntu stonking: python3-filetype 1.2.0-1build1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms