search for: total_transferred_size

Displaying 5 results from an estimated 5 matches for "total_transferred_size".

2004 Jan 13
3
Progress reporting: N more to check
...receiver.c 13 Jan 2004 06:19:41 -0000 @@ -328,6 +328,9 @@ int recv_files(int f_in,struct file_list file = flist->files[i]; + if (phase == 0) + stats.num_untransferred_files += i - stats.current_file_index - 1; + stats.current_file_index = i; stats.num_transferred_files++; stats.total_transferred_size += file->length; cleanup_got_literal = 0; --- rsync.h 12 Jan 2004 03:48:43 -0000 1.170 +++ rsync.h 13 Jan 2004 06:17:50 -0000 @@ -477,6 +477,8 @@ struct stats { int flist_size; int num_files; int num_transferred_files; + int num_untransferred_files; + int current_file_index; }; ---...
2007 Feb 07
3
Redirect --stats to STDERR.
.../- rprintf(FINFO,"Total transferred file size: %s bytes\n",/ /+ rprintf(FERROR,"Total transferred file size: %s bytes\n",/ / human_num(stats.total_transferred_size));/ /- rprintf(FINFO,"Literal data: %s bytes\n",/ /+ rprintf(FERROR,"Literal data: %s bytes\n",/ / human_num(stats.literal_data));/...
2010 May 03
1
3.1: bug in --stats
...time: 0.001 seconds File list transfer time: 0.000 seconds Total bytes sent: 69219 Total bytes received: 184 sent 69219 bytes received 184 bytes 138806.00 bytes/sec total size is 327945064379 speedup is 4725228.94 BTW, why aren't these fields struct stats { int64 total_size; int64 total_transferred_size; int64 total_written; int64 total_read; int64 literal_data; int64 matched_data; of type size_t?
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
2002 Aug 05
5
[patch] read-devices
...set > 0 && sparse_end(fd) != 0) { rprintf(FERROR,"write failed on %s : %s\n", @@ -347,8 +356,10 @@ file = flist->files[i]; fname = f_name(file); + rprintf(FINFO, "#ET#<recv_files: handling %s\n", fname); + stats.num_transferred_files++; stats.total_transferred_size += file->length; if (local_name) @@ -470,9 +481,11 @@ cleanup_disable(); if (!recv_ok) { - if (csum_length == SUM_LENGTH) { + if (read_devices && (S_ISFIFO(file->mode) || S_ISCHR(file->mode))) { + rprintf(FERROR,"ERROR: failed to transfer content of FIFO...