Re: [SLUG] shell command for folder size w/ contents

From: Eben King (eben1@tampabay.rr.com)
Date: Thu Jul 22 2004 - 20:48:47 EDT


On Thu, 22 Jul 2004, Mike Branda wrote:

> Simple question but It's one of those silly things that I haven't
> learned yet. Anybody have the shell command for finding a folder size
> recursively in -h readable form?? Something to the equivalent of right
> clicking a file in konqueror and seeing the directory size including
> contents.

'du -sh foo'

'du' = 'disk usage'
'-s' = 'summarize'
'-h' = 'human readable'

-- 
-eben    ebQenW1@EtaRmpTabYayU.rIr.OcoPm    home.tampabay.rr.com/hactar
CANCER:  The position of Jupiter says that you should spend the
rest of the week face down in the mud.  Try not to shove a roll of
duct tape up your nose when taking your driver's test.  -- Weird Al

----------------------------------------------------------------------- This list is provided as an unmoderated internet service by Networked Knowledge Systems (NKS). Views and opinions expressed in messages posted are those of the author and do not necessarily reflect the official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 13:23:29 EDT