Skip to content
Git clone of the fileweight tool.
C
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md
fileweight.c

README.md

How much does a file weigh?

Based on IBM's research, one bit takes between 1 and 62.5 million iron atoms on a normal hard disk. This application tries to estimate a medium weight for the input file, based on a value of (62.5 + 1) / 2 = 31.75 million iron atoms per bit.

Usage

cc -o fileweight fileweight.c
./fileweight some-file

License

Licensed under the terms of the WTFPL v2.

You can’t perform that action at this time.