[Dirvish] Utility to show incremental usage per image within a vault

Shawn Perry redmopml at comcast.net
Tue May 16 00:39:25 UTC 2006


This one does them newest first

du -smc `ls -r1` --exclude=dirvish

This one does them oldest first.

du -smc `ls -1` --exclude=dirvish


On Monday 15 May 2006 02:39 pm, Matthew Pressly wrote:
> On Mon, May 15, 2006 at 10:10:01AM -0700, Loren M. Lang wrote:
> > du -smc 2*
>
> Here's a variation that sorts the results from most recent
> to least recent (assuming vaults are named yyyymmdd):
>
>   ls -1d vault_name/* | sort -r | grep -v dirvish | xargs du -smc
>
> Thank you to everyone for the input.


More information about the Dirvish mailing list