Hacker News new | past | comments | ask | show | jobs | submit login

The OSX "show info" dialog block shows the file size in disk blocks, as opposed to the actual bytes of file content. There might be a misunderstanding between people because the "real" file size is different than the "actually occupied" disk size. This is of course aggravated by lots of small files.



Just to be sure:

    $ du -h -d 0 /Applications/Google\ Chrome.app               
    317M	/Applications/Google Chrome.app

    $ tar -c -f - /Applications/Google\ Chrome.app | wc -c      
    tar: Removing leading '/' from member names
    331683840

    $ find /Applications/Google\ Chrome.app -type f -print0 | xargs -0 cat | wc -c
    331010107


On win8, the total Chrome dir is 450MB, but that includes two versions, and a backup of the installer of the latest. Excluding those and the flash plugin, the running Chrome's (37.0.2062.120) contents are 115MB.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: