in reply to Re: RE: A whirleygig for a progress indicator for scripts
in thread A whirleygig for a progress indicator for scripts
hmm nope that doesnt work.. anyways you get my point.my $sizetarget= (-s $destination); my $sizesource= (-s $source); my $percentage=""; while (move($source,$destination) || print "$!\n") { $sizetarget = (-s $destination); $percentage = ($sizetarget / $sizesource)*100; print "[$percentage\%]\r"; }
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: A whirleygig for a progress indicator for scripts
by Corion (Patriarch) on May 16, 2009 at 17:50 UTC |