rsync verify a file already exists in dest folder so it will skip the copy on the 1st sync
Posted
by
joel_gil
on Ask Ubuntu
See other posts from Ask Ubuntu
or by joel_gil
Published on 2011-11-20T01:28:43Z
Indexed on
2011/11/20
2:15 UTC
Read the original article
Hit count: 184
I have been looking at different tutorials about rsync about some specific situation I have.
I have a home server with all my pics, this server is my backup, my PC is the one that receives the new pics and until now i had been manually copying and pasting new photos from the PC to the server.
I was trying to setup rsync to do this automatically and in principle, it does without problem.
Now the issue; when I fire up rsync it start copying all the files, even the ones were already in the destination (this is because it is the 1st sync).
so my question is: Is it possible for rsync to verify that a file is the same (name/size/bin) so it will skip the copy on the 1st sync?
© Ask Ubuntu or respective owner