I have a folder called 'objects' in my mac.
When I check the contents of it in the terminal it's showing like this.
Clearly object folder shows 4.1K
However when I see it in the finder,
It shows, 26.3 MB
What's the reason for the significant increase in the size in the finder?
Best Answer
You have to enter the command
du -sh *
instead ofls
to get the actual size of the folders in your current directory (the sum of the files size they contain).The command
ls
shows file size, but it has a different meaning for folders. It actually shows the size allocated for the directory to store metadata (mainly the index) of the files it contains.