filesize() gives a file's size in bytes, divide that by (1024^2) and you're
good to go.
-E


On Thu, Apr 10, 2014 at 5:06 PM, Jason Solack <[email protected]> wrote:

> Hello all!
>
> I am wondering if there is a way to find the size a file in megabytes.
>  I'm going to be outputting a lot of data and i'd like to monitor the size
> of my output file and create a new file once it hits a certain size.
>
> Thanks in advance
>
> Jason
>

Reply via email to