Re: How to know total number of bytes of a directory

2007-12-17 Thread Jerry McAllister
On Mon, Dec 17, 2007 at 09:09:36AM -0500, DAve wrote: > Andy Greenwood wrote: > > DSA - JCR wrote: > >> Hi all > >> > >> I would like to know the total number of bytes of a directory and its > >> related subdirs, occupied by the files inside it. I haven't found any > >> command for knowning it. >

Re: How to know total number of bytes of a directory

2007-12-17 Thread Andy Greenwood
DAve wrote: Andy Greenwood wrote: DSA - JCR wrote: Hi all I would like to know the total number of bytes of a directory and its related subdirs, occupied by the files inside it. I haven't found any command for knowning it. # du -s /etc 17008 /etc You need read privs to al

Re: How to know total number of bytes of a directory

2007-12-17 Thread DAve
Andy Greenwood wrote: > DSA - JCR wrote: >> Hi all >> >> I would like to know the total number of bytes of a directory and its >> related subdirs, occupied by the files inside it. I haven't found any >> command for knowning it. >> > > # du -s /etc > 17008 /etc > > You need read privs to all

Re: How to know total number of bytes of a directory

2007-12-17 Thread Ivan Voras
Andy Greenwood wrote: > DSA - JCR wrote: >> Hi all >> >> I would like to know the total number of bytes of a directory and its >> related subdirs, occupied by the files inside it. I haven't found any >> command for knowning it. >> > > # du -s /etc > 17008 /etc > > You need read privs to all

Re: How to know total number of bytes of a directory

2007-12-17 Thread Andy Greenwood
DSA - JCR wrote: Hi all I would like to know the total number of bytes of a directory and its related subdirs, occupied by the files inside it. I haven't found any command for knowning it. # du -s /etc 17008 /etc You need read privs to all the subdirectories, otherwise you'll get permis

RE: How to know total number of bytes of a directory

2007-12-17 Thread Barry Byrne
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of DSA - JCR > Sent: 17 December 2007 13:38 > Hi all > > I would like to know the total number of bytes of a directory and its > related subdirs, occupied by the files inside it. I haven't found any > c