Displaying 2 results from an estimated 2 matches for "ph_start".
Did you mean:
pa_start
2005 Mar 04
1
wierd duration shown in progress with 0 byte files
...erent from the previous run.
This is my little improvement (I hope) on progress.c:
--- progress.c.orig 2005-03-04 22:58:39.000000000 +0100
+++ progress.c 2005-03-04 23:07:13.000000000 +0100
@@ -68,9 +68,8 @@
if (is_last) {
/* Compute stats based on the starting info. */
diff = msdiff(&ph_start.time, now);
- if (!diff)
- diff = 1;
- rate = (double) (ofs - ph_start.ofs) * 1000.0 / diff / 1024.0;
+ rate = diff ? (double) (ofs - ph_start.ofs) * 1000.0
+ / diff / 1024.0 : 0;
/* Switch to total time taken for our last update. */
remain = (double) diff / 1000.0;
} else {
I do...
2023 Feb 17
1
[feature request?]: Show progress only for big files
Hi,
I've read through the rsync manpage, this mailing list, asked Google and
studied lots of posts on stackexchange.com (stackoverflow,
superuser...), askubuntu.com and some others, concerning rsync's
capabilities of showing progress information. But all I've found was
what I already knew: --progress (or -P) shows a progress information for
*every* file transmitted, --info=progress2