delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
To: | cygwin AT cygwin DOT com |
From: | Richard Ivarson <RiIvarson AT gmail DOT com> |
Subject: | rsync's --delete and --exclude option |
Date: | Fri, 09 May 2008 15:45:01 +0200 |
Lines: | 14 |
Message-ID: | <g01kh7$63l$1@ger.gmane.org> |
Mime-Version: | 1.0 |
User-Agent: | Thunderbird 2.0.0.14 (Windows/20080421) |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Hi, 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. However, would it be possible to still make rsync delete such excluded files on the destination? For example, when have source and destination rsynced hosts which thousands of files and you decide to add more excludes, it'd be nice to let delete now unused files on the destination, too, even if their source counterparts are now on the exclude list. -Richard -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |