Good day to all! I'm doing git file replication task and need to sync source destination, using below sync command.
rsync -atnvv --existing --exclude '.git' --progress source/ destination/; Here I, 1) need only sync directories that *exist on destination* ,no new folders should copy from source - [used --existing did the job but it not copying new files also.] 2) need to copy *new files *on source directory to destination. Thanks in advance Charith.
-- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html