In <b4e1ec5d-5e46-4a98-9018-c5e4c4441...@equalit.ie>, on 03/31/16 at 03:40 PM, tomr <t...@equalit.ie> said:
Hi, >Then I'd run an rsync like: > rsync -av --overlay /path/to/sync/groupN \ > /path/to/sync/common remotehost: >Thinking in terms of a list of files to be transferred, I would like: - >Anything present in common/ added to the file list; then - Anything >present in groupN/ added to the list, clobbering if applicable >(regardless of mtime) - The destination directory to show no sign of the >common / overlay structure The best solution will depend on the number of files in the special groups. Since you say the number is small, I suspect that something simple like: rsync -hia /path/to/sync/common remotehost: rsync -hia --ignore-times /path/to/sync/groupN remotehost: will be close to optimal. Another option is to build an --exclude-from list for the files in the special group and apply it to the first rsync. Then you can run the second rsync without the --ignore-times, which may result in faster overall throughput. FWIW, I think you will find the -hi output more useful than the -v output. Steven -- ---------------------------------------------------------------------- "Steven Levine" <stev...@earthlink.net> Warp/DIY/BlueLion etc. www.scoug.com www.arcanoae.com www.warpcave.com ---------------------------------------------------------------------- -- 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