View Single Post
Old 05-06-2004, 04:07 PM  
Ofloo
Member
 
Join Date: Jun 2003
Posts: 43
Default

not entirely sur what u want i suppose the file size of ur dir ..

PHP Code:
foreach [glob -nocomplain -type f -dir $path *] {
  if {[
info exists i]} { 
    
set i [expr [file size $x]+$i]
  } else {
    
set i [file size $x]
  }
}
return 
$i 
for main dir rerun it for every dir .. to do it restructive ..
Ofloo is offline