Skip to content

Instantly share code, notes, and snippets.

@jeremysimmons
Created July 24, 2013 17:40
Show Gist options
  • Save jeremysimmons/6072729 to your computer and use it in GitHub Desktop.
Save jeremysimmons/6072729 to your computer and use it in GitHub Desktop.
linux: sum of svn directory sizes
find . -regex '.+svn$' -print0 | xargs -0 -n 1 du -shk | cut -f 1 | 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