Computing dirvish image disk usage
dirvish is a fantastic backup system that we use extensively. It's very easy to create many incremental snapshots with it. One minor problem is determining the disk space that each snapshot actually uses.
This shell script:
for dir in /path-to-vault/* ; do
for s in `find $dir -type f -links 1 -print0 | xargs -0 stat -c '%s'` ; do
sum=`expr $sum + $s`
echo $dir $sum
will tell you the size, in bytes, of files that belong only to a single snapshot.