public inbox for speakup@linux-speakup.org
 help / color / mirror / Atom feed
* Re: How to find out the size of more files?
       [not found] <E17FTKA-0002GT-00@speech.braille.uwo.ca>
@  ` Thomas Ward
     ` Octavian Rasnita
  0 siblings, 1 reply; 4+ messages in thread
From: Thomas Ward @  UTC (permalink / raw)
  To: speakup

Hi, ok this one is real easy. If you want to get the size of a folder and
all subfolders type:

du foldername

If you want just the total size of a folder such as /usr type:

du -s /usr

To see specific info on a file or a group of files let us say zip files
type:

ls -l *.zip

You will get a list of zip files, permitions, and sizes.







^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: How to find out the size of more files?
   ` How to find out the size of more files? Thomas Ward
@    ` Octavian Rasnita
  0 siblings, 0 replies; 4+ messages in thread
From: Octavian Rasnita @  UTC (permalink / raw)
  To: speakup

Thank you for the tip.

Teddy,
orasnita@home.ro

----- Original Message ----- 
From: "Thomas Ward" <slingshooter@valkyrie.net>
To: <speakup@braille.uwo.ca>
Sent: Wednesday, June 05, 2002 4:36 PM
Subject: Re: How to find out the size of more files?


> Hi, ok this one is real easy. If you want to get the size of a folder and
> all subfolders type:
> 
> du foldername
> 
> If you want just the total size of a folder such as /usr type:
> 
> du -s /usr
> 
> To see specific info on a file or a group of files let us say zip files
> type:
> 
> ls -l *.zip
> 
> You will get a list of zip files, permitions, and sizes.
> 
> 
> 
> 
> 
> 
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
> 



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: How to find out the size of more files?
   Octavian Rasnita
@  ` Steve Holmes
  0 siblings, 0 replies; 4+ messages in thread
From: Steve Holmes @  UTC (permalink / raw)
  To: speakup

To do this, use the 'ls' and 'du' commands.  First, type 'man ls' to
give you all the available options; the 'ls' command lists out the
files in question.  Again, read the man page for this, you will learn
much much more than what we spoon feed you here from the list.

The 'du' command lists disk usage by directory.  When it lists the
size of '.', the current directory, that is inclusive of all subdirs
under that one.  Again, the man page gives you all sorts of options
for this command as well.  I personally don't remember them off the
top of my head but I know I can always find them in the man page.
Again 'man du' will provid you with this information.

Remember, leave out the tick marks from the examples above.

On Tue, Jun 04, 2002 at 01:04:52PM +0300, Octavian Rasnita wrote:
> Hi all,
> 
> Please tell me:
> 
> 1. How to find out the size of a directory and all subdirectoreies (the size
> of all files)
> 2. How to find out the size of the files from the current directory only
> even though it has some subdirectories with files.
> 3. How to "select some files than to find out the size of these files.
> For example, I want to find the size of all .zip files from a directory and
> then the size of all .shtml files from the same directory.
> 
> Thank you.
> 
> Teddy,
> orasnita@home.ro
> 
> 
> 
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup


^ permalink raw reply	[flat|nested] 4+ messages in thread

* How to find out the size of more files?
@  Octavian Rasnita
   ` Steve Holmes
  0 siblings, 1 reply; 4+ messages in thread
From: Octavian Rasnita @  UTC (permalink / raw)
  To: speakup

Hi all,

Please tell me:

1. How to find out the size of a directory and all subdirectoreies (the size
of all files)
2. How to find out the size of the files from the current directory only
even though it has some subdirectories with files.
3. How to "select some files than to find out the size of these files.
For example, I want to find the size of all .zip files from a directory and
then the size of all .shtml files from the same directory.

Thank you.

Teddy,
orasnita@home.ro




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~ UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <E17FTKA-0002GT-00@speech.braille.uwo.ca>
 ` How to find out the size of more files? Thomas Ward
   ` Octavian Rasnita
 Octavian Rasnita
 ` Steve Holmes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).