Help for this page

Select Code to Download


  1. or download this
    #in the loop
    # update $percentage, e.g. 100 * $summed_size / $file_size; 
    ...
    (printf STDERR "Progress: %3d%%\r", $percentage),$lastpercentage=int($
    +percentage) 
         if int($percentage) != $lastpercentage;
    ...