Displaying 2 results from an estimated 2 matches for "want_progress_now".
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
2023 Jul 03
0
[PATCH] Add option --log-after to log after moving file into place
...e data */
recv_ok = receive_data(f_in, fnamecmp, fd1, st.st_size, fname, fd2, file, inplace || one_inplace);
- log_item(log_code, file, iflags, NULL);
+ /* log the transfer result after file is moved into place */
+ if (!log_after_transfer)
+ log_item(log_code, file, iflags, NULL);
if (want_progress_now)
instant_progress(fname);
@@ -917,6 +920,10 @@ int recv_files(int f_in, int f_out, char *local_name)
} else if (!one_inplace)
do_unlink(fnametmp);
+ /* log the transfer result */
+ if (log_after_transfer)
+ log_item(FLOG_AFTER, file, iflags, NULL);
+
cleanup_disable();
if...