Is there a way for me to rsync two directories comparing only filenames (and not file size, date modified, or any other criteria)?

link|improve this question
feedback

2 Answers

up vote 1 down vote accepted

From the rsync(1) man page:

        --ignore-existing       skip updating files that exist on receiver
link|improve this answer
feedback

The --ignore-times option should do that.

From man rsync:

-I, --ignore-times
Normally rsync will skip any files that are already the same size and have the same modification timestamp. This option turns off this “quick check” behavior, causing all files to be updated.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

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