Re: How do I list the space occupied by each folder (and its sub-folders) ?




Matthias Zach ha scritto:

I would like to know how much space take each folder (cumulated with
its subfolders recursively).

The list should be shown similar to the ls command.

How do I get this information?

The ls command shows as far as I know only the blocksize.
How do I detect how much bytes a block contains ?

Matt

du -h --max-depth=1

Doko

.



Relevant Pages

  • Re: How do I list the space occupied by each folder (and its sub-folders) ?
    ... Matthias Zach wrote: ... its subfolders recursively). ... The list should be shown similar to the ls command. ... already gives byte counts on the individual files in a directory, ...
    (comp.os.linux.misc)
  • Re: creating multiple zip arhives?
    ... > I have about 2500 jpeg pictures in a different subfolders (in a same tree). ... (which is run in the tree root and is run straight from the command line) ... Please replace dot invalid with dot uk to email me. ...
    (microsoft.public.scripting.wsh)
  • Re: How do I list the space occupied by each folder (and its sub-folders) ?
    ... On 2006-04-28, Matthias Zach wrote: ... its subfolders recursively). ... The ls command shows as far as I know only the blocksize. ... A Problem-Solution Approach (2005, Apress) ...
    (comp.os.linux.misc)
  • Re: script to find all files in folder/subfolders
    ... existing Command Line commands. ... folder (including subfolders) and if the file has not been modified in 1 ... Set colFiles = objWMIService.ExecQuery _ ... good reason to use a VB Script to perform the task. ...
    (microsoft.public.windows.server.scripting)
  • Re: creating multiple zip arhives?
    ... contain subfolders and some of the subfolders contain subfolders. ... I need the zip's to and up in the same folder with the source files. ... (which is run in the tree root and is run straight from the command ... > Please replace dot invalid with dot uk to email me. ...
    (microsoft.public.scripting.wsh)