Created
May 7, 2014 19:37
-
-
Save marclundgren/d3a53b9252b73b69e966 to your computer and use it in GitHub Desktop.
Mac OS X (Mavericks) storage used script
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
function storageUsed () { | |
df -h | awk '{print $5}' | awk 'NR==2' | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment