How much does a file weigh?
C
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
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.