To: "Lauri Nikkinen" <lauri.nikki...@iki.fi>
On 04/03/2009, Lauri Nikkinen <lauri.nikki...@iki.fi> wrote:
And I would like to write to script which prints into STDOUT (=cmd
screen)
all the directories in this folder (C:\Perl\) and and their size. So the
out
put should look like this:
Directory bin: size xxx megabytes
Directory cpan: size xxx megabytes
Directory eg: size xxx megabytes
Directory etc: size xxx megabytes
...and so on
You should check out "du" from gnu coreutils. I'm a unix man, but a
friend of mine has them installed on his Windows machine, and they
work fine. This looks like a useful link:
http://gnuwin32.sourceforge.net/packages/coreutils.htm
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.
Thanks.
Octavian
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/