Subject: Re: Disk Free Space (Re: Who Wants to Be a Scripting Guy?)
From: Dave Burt <dave burt.id.au>
Date: Fri, 19 May 2006 15:50:26 +0900
References: 193449193509
In-reply-to: 193509
Dave Burt wrote:
> `df -k #{dir}`[/\n.{20} (\d+)/, 1].to_i
should be
`df -k #{dir}`[/\n.{20} (\d+)/, 1].to_i * 1024
Cheers,
Dave