Estimating backup usage with dir-merge filter

Paul Dugas paul at
Thu Oct 6 09:32:01 MDT 2011

I appreciate the suggestions so far but I know how to measure usage with
'du' et al. The hitch here is that I want to exclude files the
--filter='dir-merge .rsync-filter' excludes. Hense the thought to use rsync
On Oct 6, 2011 11:02 AM, "K S Braunsdorf" <ksb at> wrote:
>>that processes any filter files into --exclude parameters for "du" but
>>recently, I've been wondering if there's an easier way that would use
> If your backups are all on a single partition you might try quot(8)
> ("quot -- display disk space occupied by each user"). I wrote a
> very simple perl script to munge quot ouptut to create a "diskhogs"
> report about 20 years ago, and I still use it today. I suggest you
> take the output of
> quot -kvf $BACKUP_DEVICE
> and filter it to fit your needs. If you can't find a "quot" for your
> OS I might have a C program that works as a replacement.
> --ksb at_host
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the rsync mailing list