Thread refresh

Dave Anderson @danderson@hachyderm.io
replies: #2

Basic commandline tools never cease to surprise me it seems.

Today's surprise: by default, `du` reports the amount of bytes a file consumes on disk, not its apparent size as shown by `ls` (aka the amount of bytes you can read out of that file). To get apparent sizes, you need to `--apparent-size`, or use the shorthand `-b` (which also forces the block size to 1 byte, which shouldn't matter).

Brought to you by "why are the Unicode 16.0 data files 30MiB standalone, but 80MiB when I tar them up?"

@lillian
in reply to #1 - replies: #3

@danderson I've only ever used `du` to find what was using up a bunch of my disk. curious how you ended up using it to view file sizes

Ölbaum @oscherler@tooting.ch

@lillian It’s the go-to tool as soon as you have more than one file in a folder. I don’t know why you’re surprised. @danderson