Groups | Search | Server Info | Login | Register


Groups > comp.os.linux.misc > #58437

Re: Folder size and number of files

From G <g@nowhere.invalid>
Newsgroups comp.os.linux.misc
Subject Re: Folder size and number of files
Date 2024-09-25 09:26 +0000
Organization <Not Here, Not Me>
Message-ID <lli3aiFasuhU1@mid.individual.net> (permalink)
References <vd0gpr$3k64u$1@dont-email.me>

Show all headers | View raw


db <dieterhansbritz@gmail.com> wrote:
> I like typing in commands at the console. Is there
> a command that gives me the size of a given folder,
> and the number of files in it? I can do that with
> the GUI, right klick on the folder and Proprties,
> but would prefer to do it from a typed in command.
> 
> Is there one?
> 

You can use "du" with some options for the size of folders, but the best prog
is "ncdu" (probably you'll have to install it). It gives a list of dir with
sizes and, with options "c", number of files and you can "walk" the tree with
arrows.

G

Back to comp.os.linux.misc | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Folder size and number of files db <dieterhansbritz@gmail.com> - 2024-09-25 08:14 +0000
  Re: Folder size and number of files G <g@nowhere.invalid> - 2024-09-25 09:26 +0000
  Re: Folder size and number of files Rich <rich@example.invalid> - 2024-09-25 13:47 +0000
  Re: Folder size and number of files Lawrence D'Oliveiro <ldo@nz.invalid> - 2024-09-25 21:33 +0000
    Re: Folder size and number of files Mike Scott <usenet.16@scottsonline.org.uk.invalid> - 2024-09-26 09:14 +0100
    Re: Folder size and number of files G <g@nowhere.invalid> - 2024-09-26 08:56 +0000

csiph-web