Paging Matthew Seaman
Giorgos Keramidas
keramida at ceid.upatras.gr
Sat Jan 5 14:34:19 PST 2008
On 2008-01-04 09:59, Paul Schmehl <pauls at utdallas.edu> wrote:
> I figure if anyone knows the answer to this off the top of their head,
> Matthew will.
I'm sure Matthew knows the answer, but you should use a more relevant
subject. This way the archived posts will be more useful to future
posters.
> I've been reading the man pages for du and df, but I can't find the right
> combination. I'd like to get the type of output that df -h gives you but
> only for one mount point or even one directory. Is there a tool that can
> do that? (IOW, I'd like to run du -h but only get the totals for
> directories.)
Use the -s option of the `du' utility:
keramida at kobe:/home/keramida$ du -sk tmp/emacs-src
187436 tmp/emacs-src
keramida at kobe:/home/keramida$ du -sh tmp/emacs-src
183M tmp/emacs-src
keramida at kobe:/home/keramida$
More information about the freebsd-questions
mailing list