Ele cria um arquivo temporário, por padrão no diretório de destino e denominado .<FILE_NAME>.<RANDOM_STRING> . Portanto, se você estiver copiando foo.txt , ele criará um arquivo tmp chamado .foo.txt.GV4H3 ( GV4H3 é a cadeia aleatória que será diferente toda vez que você executá-lo). Você pode controlar esse comportamento usando as opções rsync :
--partial
By default, rsync will delete any partially transferred
file if the transfer is interrupted. In some circum‐
stances it is more desirable to keep partially trans‐
ferred files. Using the --partial option tells rsync to
keep the partial file which should make a subsequent
transfer of the rest of the file much faster.
--partial-dir=DIR
A better way to keep partial files than the --partial
option is to specify a DIR that will be used to hold
the partial data (instead of writing it out to the des‐
tination file). On the next transfer, rsync will use a
file found in this dir as data to speed up the resump‐
tion of the transfer and then delete it after it has
served its purpose.
Por favor, leia as partes relevantes da página rsync man (o seguinte é apenas um pequeno trecho da grande seção sobre como usar --partial-dir ).