[prev in list] [next in list] [prev in thread] [next in thread]
List: rsync
Subject: Re: delete exclusion
From: jw schultz <jw () pegasys ! ws>
Date: 2003-06-24 23:50:36
[Download RAW message or body]
On Tue, Jun 24, 2003 at 04:47:37PM -0700, Gregory Brauer wrote:
> jw schultz wrote:
> >On Tue, Jun 24, 2003 at 04:29:47PM -0700, Gregory Brauer wrote:
> >
> >>Is it possible to use rsync to mirror a group of files, deleteing
> >>most files from the mirror when they disappear from the source,
> >>but not deleting a certain set of files that match a pattern if
> >>they disappear from the source?
> >
> >
> >What a vague yes or no question. Which would you like "yes"
> >or "no"? Either would be correct depending on the
> >details left out of the question.
> >
> >Read the manpage sections on --exlude, --delete and
> >--delete-exlcuded, then you will be able to answer your own
> >question or at least frame it in a way that isn't so vague.
> >
>
> Is there a way to do:
>
> rsync -a --delete --exclude "foo*" rsync://somewhere.com/A/ /here/A/
> rsync -a --include "foo*" --exclude "*" rsync://somewhere.com/A/ /here/A/
>
> In a single rsync command?
No.
--
________________________________________________________________
J.W. Schultz Pegasystems Technologies
email address: jw@pegasys.ws
Remember Cernan and Schmitt
--
To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic