https://github.com/barelyhuman/filesizemd
file's sizes as a markdown table (CLI)
https://github.com/barelyhuman/filesizemd
binary c file file-size size
Last synced: 2 months ago
JSON representation
file's sizes as a markdown table (CLI)
- Host: GitHub
- URL: https://github.com/barelyhuman/filesizemd
- Owner: barelyhuman
- License: mit
- Created: 2022-02-05T15:06:07.000Z (over 3 years ago)
- Default Branch: dev
- Last Pushed: 2024-11-23T18:59:26.000Z (7 months ago)
- Last Synced: 2025-04-15T02:13:01.491Z (2 months ago)
- Topics: binary, c, file, file-size, size
- Language: C
- Homepage:
- Size: 16.6 KB
- Stars: 5
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
README
# filesizemd
> files' sizes as a markdown table (CLI)
[](https://github.com/barelyhuman/filesizemd/actions/workflows/test.yml)
## Build
You'll need [zlib](https://zlib.net/) to be able to compile the binary
```sh
# to build
make
```## Usage
```sh
# 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|brotli|
|---|---|---|---|
|deflate.c|2.05KB|893B|948B|
|deflate.h|131B|91B|87B|
```## License
[MIT](license)