I transferred about 300GB of files with scp from one server to another. Sadly I forgot the -r option, so part of the files that were in subdirectories were not copied. I verified that the files that were copied are the same with md5sum.

Now I want to copy the other files with rsync. The problem is, that rsync wants to send everything again. It doesn't skip the files that are already copied. It creates new files for every existing file and then replaces the existing one with the new one. I use rsync with -arvx. What do I need to do those files are skipped?

 --ignore-existing       skip updating files that exist on receiver


  • I thought this was the default action? – user5359531 Sep 17 '18 at 19:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.