Skip to content

Instantly share code, notes, and snippets.

@davidromani
Last active August 29, 2015 13:56
Show Gist options
  • Save davidromani/9076381 to your computer and use it in GitHub Desktop.
Save davidromani/9076381 to your computer and use it in GitHub Desktop.
Get UNIX directory space
# Get used space amount of directories (-d 1 = recursivity depth)
du -c -h -d 1 /path/to/your/dir
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment