----- Original Message -----
On Tue Mar 31 2009 @ 11:08, Octavian Râşniţă wrote:
Do you know if du has a parameter that lets us see the size of the files
from chosen directories?

I've seen that it shows the disk usage only.

From man du:

      -a, --all
             write counts for all files, not just directories

(The flag may vary by version or implementation. Mine is GNU coreutils 7.1)


Thank you. I've seen that it works even without that flag, but I was confused by the fact that du doesn't show decimal numbers but only integers so for example if I use the -k for kilobytes or -m for megabytes, it doesn't show sizes like 1.68 M, but 2 M.

Octavian




--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to