Skip to content

barelyhuman/filesizemd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

filesizemd

files' sizes as a markdown table (CLI)

Build

Build

You'll need zlib to be able to compile the binary

# to build
make

Usage

# if you tty expansion for glob is disabled
filesizemd lib/*

# if it's enabled and the shell is expanding the glob
filesizemd "lib/*"

Output

|file|size|gzip|
|---|---|---|
|deflate.c|2.05KB|49B|
|deflate.h|132B|92B|

TODO

  • Add compressed output from brotli

License

MIT