Skip to content

Instantly share code, notes, and snippets.

@mba811
Forked from SamRothCA/storageusage.sh
Last active August 29, 2015 14:16
Show Gist options
  • Save mba811/11a76b3e6ff5eb8e84d6 to your computer and use it in GitHub Desktop.
Save mba811/11a76b3e6ff5eb8e84d6 to your computer and use it in GitHub Desktop.
Today Scripts:个性化 Yosemite 通知栏-Storage volume
df -Hl | {
read keys;
keys="${keys%% on}";
while read ${keys//%}; do
echo "`basename "$Mounted"` - $Used/$Size ($Capacity)";
done
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment