| Author |
size of all files combined
|
|
| Gary Wessle 2006-10-27, 1:24 am |
| 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
| |
| Todd H. 2006-10-27, 1:24 am |
| 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/
| |
| Todd H. 2006-10-27, 1:24 am |
| 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/
|
|
|
|