Open HongPong opened 3 years ago
That option was added here:
I'm not sure why. A PR to allow the default behavior to be changed would be welcome. Seems like you can already avoid the behavior by specifying the tmp directory manually. The tmp directory should always be /tmp now.
Thank you for the info - this was my first time around with terminus-rsync and I will keep that in mind. I wasn't aware of the delay-updates option in rsync before this. Other than this issue everything else seemed to work great.
Just wanted to make a note that if rsync doesn't complete its process it can leave files in the .tmp temporary folders, nested inside destination folders. So if you break the rsync and run the same command again it can cause there to be 'doubles' around.
This seems to be due to the --delay-updates flag:
https://www.truenas.com/community/threads/rsync-resuming-an-interrupted-transfer-and-delay-updates.25588/