Does rsync verify its writes?

2023-02-17 Thread anubis23 via rsync

Hi,

you can use the switch --fsync to verify the transfer. From the manpage:

--fsync
  Cause the receiving side to fsync each finished file.
This may slow down the transfer, but can help to
  provide peace of mind when updating critical files.

--
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


[feature request?]: Show progress only for big files

2023-02-17 Thread anubis23 via rsync

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 shows an overall progress of
the whole transfer (more useful, but slower, if combined with
--no-inc-recursive/--no-i-r...).

What I am looking for is a way to show the progress on file-level (like
--progress or -P) but only for files bigger than a certain threshold,
say for example >25 MB for a transfer to a remote host or >250 MB for a
local copy. Printing the progress of files which are transfered within
just one or two seconds is not really necessary. Is this possible? If
not, the best I can imagine, would be a switch, maybe called
"--progress-threshold=x", where 'x' is the threshold level (e.g. 25m for
25 MB...).

Thanks in advance!

--
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html