Volume Size

Bob Sneidar bobsneidar at iotecdigital.com
Tue Oct 14 11:55:23 EDT 2014


Still works on Mavericks.

Bob S


On Oct 14, 2014, at 05:21 , Warren Samples <warren at warrensweb.us<mailto:warren at warrensweb.us>> wrote:

On 10/14/2014 04:55 AM, JB wrote:
I can get a file size by listing the detailed files and I can
get a list of all drives and volumes that are mounted by
using the volumes function.  Is there a way to get the
size of a drive or volume that is returned by using the
volumes function?

John Balgenorth


If 'volumes' doesn't work, maybe you can try

get shell("df -h")

You can try 'put shell("df -h")' in the message box to see if it gives you a result. If the command is still installed in OS X, you'll get information on disc size and usage.

Warren




More information about the use-livecode mailing list