Shows statistics about current Cellar
This commit is contained in:
Max Howell 2009-05-22 16:36:08 +01:00
parent 7b09f95664
commit 4317fee8c8

View File

@ -84,6 +84,10 @@ case ARGV[0]
end end
puts "Created #{n} links" 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 when 'prune', 'pasteurize' then
puts "Pruned #{prune} files" puts "Pruned #{prune} files"