Interchange Developer Resource
[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date ][Interchange by thread ]

[ic] Getting File size



At 12:20 PM 3/28/02, you wrote:
>Hi List,
>
>is anyone so kind to give me the right direction, how can I determine
>the size of a file?
>
>Thanks!
>
>Joachim

Joachim,

The perl answer would be:

my $size = -s '/path/to/myfile.txt';

Kyle



Search for: Sort by: