Wrong Files Size Returned

Thierry Arbellot thierry.arbellot at laposte.net
Fri Jan 27 09:07:37 EST 2006


under OS X, you can use
get shell("ls -l")

Thierry

On 2006, Jan 27, , at 13:48, xavier.bury at clearstream.com wrote:

> Hi Dan
>
> i use the "diruse.exe" utility from the resource kit in NT to find
> folder's sizes. Works very reliably and doesn't
> block rev when counting...
>
> http://www.microsoft.com/windows2000/techinfo/reskit/tools/existing/ 
> diruse-o.asp
>
> Surely there is an applescript or shell equivalent for osx or unix (du  
> as
> mentinoed in link above)...
>
> cheers
> Xavier
>
>
> use-revolution-bounces at lists.runrev.com wrote on 27/01/2006 13:30:14:
>
>> Hi,
>>
>> After writing a routine to evaluate the size of the content of a
>> folder I found that the total was WRONG!
>>
>> Every file size, returned by "files function" (either detailed or
>> long), over 2 gig is wrong.
>> Not only the byte count is wrong but the number returned is negative!
>> (incrasing the error when ever added...)
>> On file whose exactly 2 gig the byte size is right but it is still
>> negative.
>>
>> And this situation is happening on MacOS and Win32 version. (as stack
>> or application)
>>
>> Any body has ever encounter this situation?
>> Is any body has a workaround?
>>
>> Thanks,
>>
>> Dan
>> _______________________________________________
>> use-revolution mailing list
>> use-revolution at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-revolution
>
>
>
> -----------------------------------------
> To make communications with Clearstream easier, Clearstream has
> recently changed the email address format to conform with industry
> standards. The new format is 'firstname.familyname at clearstream.com'.
>
> Visit us at http://www.clearstream.com
>
> IMPORTANT MESSAGE
>
> Internet communications are not secure and therefore Clearstream
> International does not accept legal responsibility for the contents of
> this message.
>
> The information contained in this e-mail is confidential and may be
> legally privileged. It is intended solely for the addressee. If you are
> not the intended recipient, any disclosure, copying, distribution or
> any action taken or omitted to be taken in reliance on it, is
> prohibited and may be unlawful. Any views expressed in this e-mail are
> those of the individual sender, except where the sender specifically
> states them to be the views of Clearstream International or of any of
> its affiliates or subsidiaries.
>
> END OF DISCLAIMER
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>




More information about the use-livecode mailing list