Re: sshfs: problem with rsync
On Mon, 30 Mar 2015, Kushal Kumaran wrote:
Is file.txt an existing file you're trying to replace with rsync? Try
sshfs with -o workaround=rename.
rsync also fails if the target file doesn't exist, because rsync always create
a temporary file, and tries to rename it. But it works in all cases with your -o option.
I found an other fix, using "rsync -T tempdir ..." but it's not so good, as rsync must
move to the target dir after the transfer, which of course takes more time than a rename,
especially if tempdir is not on the same device.
Thanks a lot for your help
best regards,
--
Pierre Frenkiel
Reply to: