Re: [SLUG] file size

From: Eben King (
Date: Fri May 29 2009 - 17:12:25 EDT

On Fri, 29 May 2009, Ron Youvan wrote:

>> If I have a bunch of assorted files, how can I find out their total size?
>> Quickly is a definite plus, since this will happen hundreds of times.
> If they are in a series of directories that do not contain directories you
> can list the sum of all file sizes in each directory using the "show
> directory sIzes" command under the "command" menu in mc. (midnight
> commander)

They'll be a bunch of files, /foo/a, /bar/b, /baz/c, etc. I don't want
the total size of /foo, /bar, and /baz if that's what you mean. Also, how
do I make it scripted? I need to do it hundreds of times.

-eben    QebWenE01R@vTerYizUonI.nOetP
PISCES:  Try to avoid any Virgos or Leos with the Ebola
virus. You are the Lord of the Dance, no matter what those
idiots at work say.  -- Weird Al, _Your Horoscope for Today_
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 - 20:00:33 EDT