Created
December 6, 2012 03:15
-
-
Save suda/4221558 to your computer and use it in GitHub Desktop.
Check how much space Retina files (@2x) use up on your Mac's HDD
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
#!/bin/bash | |
find /Applications/ -name "*@2x*" -exec ls -l {} \; | awk '{ total += $5 } END { total = total / 1024 / 1024; printf(" TOTAL SIZE OF RETINA FILES (MB): %4.2f\n", total)}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment