Re: Force a sync after each file copy

2014-06-22 Thread Wayne Davison
On Wed, Jun 11, 2014 at 4:05 AM, Paolo Bolzoni < paolo.bolzoni.br...@gmail.com> wrote: > Is there an option of rsync to force a sync call after each file copy? Check out the fsync.diff in the patches repo: https://git.samba.org/?p=rsync-patches.git;a=blob_plain;f=fsync.diff;hb=HEAD That adds

Force a sync after each file copy

2014-06-11 Thread Paolo Bolzoni
Dear list, I often copy files from the hard disk to an usb key using rsync: rsync -Pr It works fine, but the -P is fairly useless since most of the copy is actually made when unmounting the usb keys. In the case of big files it might means minutes of working. So I usually put along the comman