|
|
|
|
||||||
| comp.unix.shell Using and programming the Unix shell. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
Hi
how can I obtain the total size of all files in current dir, including all files in its directory tree as well. I mean every thing in this directory including its sub(s). I tried ls but that did not add them all up. thanks |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
Gary Wessle <phddas@yahoo.com> writes:
> Hi > > how can I obtain the total size of all files in current dir, including > all files in its directory tree as well. I mean every thing in this > directory including its sub(s). > > I tried ls but that did not add them all up. du . du -s . man du -- Todd H. http://www.toddh.net/ |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
Gary Wessle <phddas@yahoo.com> writes:
> Hi > > how can I obtain the total size of all files in current dir, including > all files in its directory tree as well. I mean every thing in this > directory including its sub(s). This is also handy du -k . | sort -rn | less -- Todd H. http://www.toddh.net/ |
|
![]() |
| Outils de la discussion | |
|
|