This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

rsync's --delete and --exclude option


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]