[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

dir command



Hi,

Is there a bash command available that shows the contents of the given dir recursively, telling me how many files are in there and the byte size occupied?

On my old Amiga I have Sizer. It does something like this:

:> Sizer FOX:1960

sizing quietly...

FOX:1960...

Total number of files                              191
Total number of directories                      27
Total number of bytes in files   1050447114
Total number of blocks used          2051969

Total occupied:                         1050608128
Bytes:                                          1025984K


Is there a command for Debian that does something similar?
I'm especially interested in the number of files.

I know du, but that doesn't tell me how many files/dirs there are inside a given path.

Thanks in advance, Manon.



Linux debian 2.6.18-4-486 #1 Wed May 9 22:23:40 UTC 2007 i686 GNU/Linux


Reply to: