Skip to content

Instantly share code, notes, and snippets.

@thash
Created February 4, 2011 03:14
Show Gist options
  • Save thash/810685 to your computer and use it in GitHub Desktop.
Save thash/810685 to your computer and use it in GitHub Desktop.
#!/bin/sh
ls -lh */* | grep vmdk | awk '{print $5}' | sed -e 's/\(.\+\)G/\1/' | awk '{s += $1; print s}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment