Warning: mysqli::__construct(): (HY000/1203): User howardkn already has more than 'max_user_connections' active connections in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\includes\artfuncs.php on line 21
Failed to connect to MySQL: (1203) User howardkn already has more than 'max_user_connections' active connections
Warning: mysqli::query(): Couldn't fetch mysqli in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\index.php on line 66
Article <lli3aiFasuhU1@mid.individual.net>
Deutsch   English   Français   Italiano  
<lli3aiFasuhU1@mid.individual.net>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!3.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: G <g@nowhere.invalid>
Newsgroups: comp.os.linux.misc
Subject: Re: Folder size and number of files
Date: 25 Sep 2024 09:26:42 GMT
Organization: <Not Here, Not Me>
Lines: 16
Sender: Gip <gip@G15.fritz.box>
Message-ID: <lli3aiFasuhU1@mid.individual.net>
References: <vd0gpr$3k64u$1@dont-email.me>
X-Trace: individual.net kMelUD9uzr/+qdA9vMDhIgSROH49JvG3QKT3UpYxN7cEwRCT+b
X-Orig-Path: not-for-mail
Cancel-Lock: sha1:SoKORQx8/2KsEe00Mqms/3AQF3Q= sha256:sOzwhbgi5WeV8yFrmtNnCp0ylj/tdSvjlYzt/fbEfn8=
User-Agent: tin/2.6.2-20221225 ("Pittyvaich") (Linux/6.10.9-100.fc39.x86_64 (x86_64))
Bytes: 1331

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