[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
[ic] Getting File size
Quoting Kyle Cook (kyle@invisio.com):
> 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';
>
Or in ITL:
[file-info size=1 file="relative/path/to/myfile"]
That tag is in the UI, so you would need to relocate it if not
using the UI.
--
Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013
phone +1.513.523.7621 <mheins@redhat.com>
Few blame themselves until they have exhausted all other possibilities.
-- anonymous