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
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive:
https://lists.debian.org/alpine.deb.2.11.1503301500440.5...@pfr2.frenkiel-hure.net