IDL getting file size

634 views Asked by At

I'm currently using IDL (Interactive Data Language) and I'm looking for a way to get the size of a file. Does anyone knows a solution?

To be more specific: I've got an array of Strings containing filenames and a function iterates through those files and should generate a new array of filesizes as a side effect.

1

There are 1 answers

0
mgalloy On BEST ANSWER

Try this:

file_sizes = (file_info(filenames)).size