Created
January 8, 2011 20:20
-
-
Save phosphene/771121 to your computer and use it in GitHub Desktop.
disk usage human readable output pipe to ack and show only dirs with Gig multiples
This file contains hidden or 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
[root@phosphene /]# du -ch | ack "^[\d\.]*?G" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-c gives a grand total -h human-readable
ack
^ begin of line
[\d.] numerical character or literal dot
+? one or more non-greedy match