#cli #filesize #chonk

app chonk-cli

Check the size of a file and determine its chonkiness

2 releases

0.1.1 Apr 22, 2022
0.1.0 Apr 21, 2022

#52 in #filesize

MIT license

5KB

chonk-cli

Check the size of a file and determine its chonkiness

Inspired by https://knowyourmeme.com/memes/chonk-oh-lawd-he-comin

Ported from the Javascript https://github.com/decompil3d/chonk

Installation

# Local
cargo install chonk-cli

Usage

chonk-cli [OPTIONS] [PATHS]...

Options

Options:
  -c, --chonk <CHONK>    Minimum size in kilobytes for It chonk [default: 50]
    -e, --heck <HECK>      Minimum size in kilobytes for A heckin' chonker [default: 500]
    -h, --help             Print help information
    -H, --hefty <HEFTY>    Minimum size in kilobytes for HEFTYCHONK [default: 2000]
    -L, --lawd <LAWD>      Minimum size in kilobytes for OH LAWD, IT COMIN'! [default: 50000]
    -M, --mega <MEGA>      Minimum size in kilobytes for MEGACHONKER [default: 10000]

Sample

$ chonk-cli lawd.dmg mega.zip hefty.tar.gz heckin.jpg chonk.pdf fine.txt

sample output

Dependencies

~3.5MB
~62K SLoC