X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Lapo Luchini Subject: Re: rsync's --delete and --exclude option Date: Mon, 13 Oct 2008 23:55:11 +0200 Lines: 17 Message-ID: References: <482461E3 DOT 1080600 AT acm DOT org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.8.1.17) Gecko/20080914 Thunderbird/2.0.0.17 Mnenhy/0.7.5.0 In-Reply-To: <482461E3.1080600@acm.org> OpenPGP: id=C8F252FB; url=http://www.lapo.it/pgpkey.txt X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com David Rothenberger wrote: > On 5/9/2008 6:45 AM, Richard Ivarson wrote: >> When you use rsync with option --delete and --exclude (for example >> exclude='*.bak') then rsync will exclude such files from source and >> destination and hence also not delete *.bak files on the destination. > There is a --delete-excluded option in rsync 3.0.2 that does just that. > The rsync in the Cygwin distro doesn't support it, but you can build > your own version of 3.0.2 using cygport and the attached files. David, thanks for having filled in my (too) long hiatus. I will now produce a new 3.0.4-1 port to upload to the servers... -- Lapo Luchini - http://lapo.it/ “In God we trust. Everybody else we verify using PGP!” (Tim Newsome) -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/