Created
March 19, 2010 13:48
-
-
Save useless/337509 to your computer and use it in GitHub Desktop.
Compare application bundle sizes to size of binaries in Mac OS X.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Compare application bundle sizes to size of binaries in Mac OS X. | |
du -sk /Applications/ | |
du -sk /Applications/*.app/Contents/MacOS | awk '{total=total+$1} END {print total}' | |
# Size of designable.nib files. Requires up-to-date locatedb. | |
locate /Applications/*designable.nib | xargs -I P du -sk 'P' | awk '{total=total+$1} END {print total}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment