I am having difficulties finding how Rsync "chooses" the extension for the temporary file created while copying the file if I don't use the --inplace option.
Example :
I want to copy sourceDirectory/myFile.txt
into targetDirectory/
with Rsync.
While copying myFile.txt
into targetDirectory/
Rsync will create a file named .myFile.txt.W4zvLi
in targetDirectory/
.
Then Rsync will rename .myFile.txt.W4zvLi
into myFile.txt
.
The question is how why Rsync uses the W4zvLi
extension and why it seems to change each time I execute the Rsync program?