Does rsync completely overwrite files that have different timestamps?
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
I've used a command similar to this to rsync
files from macOS to Linux:
rsync -avz <ip-address>:/Backup/ Backup/
The folder Backup/
has been previously copied from the same machine using scp
. I thought that rsync
would only transfer the files that have changed, but it started to overwrite all files (probably, because of different timestamps), causing a lot of disk writes. I've tried the same command with --size-only
and it finished almost instantly. Does rsync
completely overwrite the files that have different timestamps (i.e. not checking the difference)? Does it depend on the size of the files?
linux osx rsync
add a comment |Â
up vote
0
down vote
favorite
I've used a command similar to this to rsync
files from macOS to Linux:
rsync -avz <ip-address>:/Backup/ Backup/
The folder Backup/
has been previously copied from the same machine using scp
. I thought that rsync
would only transfer the files that have changed, but it started to overwrite all files (probably, because of different timestamps), causing a lot of disk writes. I've tried the same command with --size-only
and it finished almost instantly. Does rsync
completely overwrite the files that have different timestamps (i.e. not checking the difference)? Does it depend on the size of the files?
linux osx rsync
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I've used a command similar to this to rsync
files from macOS to Linux:
rsync -avz <ip-address>:/Backup/ Backup/
The folder Backup/
has been previously copied from the same machine using scp
. I thought that rsync
would only transfer the files that have changed, but it started to overwrite all files (probably, because of different timestamps), causing a lot of disk writes. I've tried the same command with --size-only
and it finished almost instantly. Does rsync
completely overwrite the files that have different timestamps (i.e. not checking the difference)? Does it depend on the size of the files?
linux osx rsync
I've used a command similar to this to rsync
files from macOS to Linux:
rsync -avz <ip-address>:/Backup/ Backup/
The folder Backup/
has been previously copied from the same machine using scp
. I thought that rsync
would only transfer the files that have changed, but it started to overwrite all files (probably, because of different timestamps), causing a lot of disk writes. I've tried the same command with --size-only
and it finished almost instantly. Does rsync
completely overwrite the files that have different timestamps (i.e. not checking the difference)? Does it depend on the size of the files?
linux osx rsync
linux osx rsync
asked 1 min ago
Eugene Yarmash
4,53682845
4,53682845
add a comment |Â
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f479649%2fdoes-rsync-completely-overwrite-files-that-have-different-timestamps%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password