alias diskz {
var %total = 0, %free = 0, %i = 1
while ($disk(%i).type) {
if ($istok(fixed remote,$v1,32)) {
inc %total $disk(%i).size
inc %free $disk(%i).free
}
inc %i
}
echo -a -> Total: $bytes(%total).suf - Free: $bytes(%free).suf -> $+($chr(40),$round($calc(%free / %total * 100),2),$chr(37),$chr(41))
}