Wow, thanks *very* much, you guys just saved me from having to write this
very script.

-Blake

2011/3/15 Phil Stracchino <ala...@metrocast.net>

> Forwarded.  Looks useful.
>
> -------- Original Message --------
> Subject: Re: [Bacula-users] file listing?
> Date: Tue, 15 Mar 2011 17:41:32 +0100
> From: Kjetil Torgrim Homme <kjeti...@linpro.no>
> To: bacula-us...@lists.sourceforge.net
>
> I wrote a script to do this for me, I call it bacula-du, since it
> accepts many of the same options as du(1), and the output is the same.
>
> Usage: bacula-du [OPTIONS] -j JOBID
> Summarize disk usage of directories included in the backup JOBID
>
> Options are:
>  -a, --all             write counts for all files, not just directories
>  -b, --bytes           use size in octets rather than number of blocks
>  -B, --block-size=SIZE report SIZE-byte blocks (default 1Ki)
>  -m                    like --block-size=1Mi
>  -S, --separate-dirs   do not include size of subdirectories
>  -t, --threshold=SIZE  skip output for files or directories with usage
>                        below SIZE
>  -L, --largest=NUM     only print NUM largest directories/files
>
> SIZE may be (or may be an integer optionally followed by) one of following:
> k (1000), Ki (1024), M (1000*1000), Mi (1024*1024), G, Gi, T, Ti, P, Pi.
>
> I hope others can find it useful.
> --
> Kjetil T. Homme
> Redpill Linpro AS - Changing the game
>
>
>
> ------------------------------------------------------------------------------
> Colocation vs. Managed Hosting
> A question and answer guide to determining the best fit
> for your organization - today and in the future.
> http://p.sf.net/sfu/internap-sfd2d
> _______________________________________________
> Bacula-devel mailing list
> Bacula-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-devel
>
>
------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
Bacula-devel mailing list
Bacula-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-devel

Reply via email to