my $size = 0; for my $filename (glob("C:/")) { next unless -f $filename; $size += -s _; }
In reply to Re^4: Using stat()
by pankaj_it09
in thread Using stat() to get the total size of files in a folder
by joshua
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |