I have a folder and it is
16.91GB in size(I checked in Finder).
I tried to check the size by using
So, I tried
du -sh ~/folder and I got
I thought I will get the output in Bytes and convert it. But I don't understand the metric when
-h is not given.
du -s ~/folder
33041320. I thought it is in bytes but I'm wrong. In which format it is in?
How can I get
16.91GB instead of
Note: I believe the behaviour is same in linux also, so I tagged
linux. If it's wrong, let me know or remove the tag please.