-s returns the size of a file (even if that file is a directory). If you want to sum the sizes of the files within a directory then you'll probably want something like File::Find.
In reply to Re: How to find folder size
by davorg
in thread How to find folder size
by Selvakumar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |