diff options
| author | Max Howell | 2009-05-22 16:36:08 +0100 |
|---|---|---|
| committer | Max Howell | 2009-05-22 16:36:08 +0100 |
| commit | 4317fee8c8029de1742990de22e0720092dfcaad (patch) | |
| tree | a419c8909c918eecb2b63f775089aa19b94f480d | |
| parent | 7b09f956642c296203ad7a3bcc205de027105360 (diff) | |
| download | brew-4317fee8c8029de1742990de22e0720092dfcaad.tar.bz2 | |
brew abv
Shows statistics about current Cellar
| -rwxr-xr-x | Cellar/homebrew/brew | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Cellar/homebrew/brew b/Cellar/homebrew/brew index b107b7b18..794d2fe79 100755 --- a/Cellar/homebrew/brew +++ b/Cellar/homebrew/brew @@ -84,6 +84,10 @@ case ARGV[0] end puts "Created #{n} links" + when 'abv', 'stats', 'statistics' + cellar=$root+'Cellar' + print `find #{cellar} -type f | wc -l`.strip+' files,'+`du -hd0 #{cellar} | cut -d"\t" -f1` + when 'prune', 'pasteurize' then puts "Pruned #{prune} files" |
