Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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?

share|improve this question

1 Answer 1

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

http://linux.die.net/man/1/rsync

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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