search for: statfn

Displaying 1 result from an estimated 1 matches for "statfn".

Did you mean: statfs
2009 Oct 25
0
alternate output for progressmeter
...bin : ?15% ? 14MB ? 7.3MB/s ? 00:11 ETA .. progress test.bin : ?98% ? 94MB ? 7.3MB/s ? 00:00 ETA progress test.bin : 100% ? 95MB ? 7.3MB/s ? 00:13 done With a simple script you can now easily control the output and save the progress somewhere: #!/bin/bash # --- only update status every 10 seconds statfn=scp1.status refresh=10 no=0 ./scp -l 60000 test.bin hans at localhost:. 2>&1|while read id fn sep perc size speed estim eta do ?((state=no % refresh)) ?[[ "$eta" = "done" || $state -eq 0 ]] && echo "`date +"%Y-%m-%d %H:%M:%S"` $fn $perc $size $speed...