delete exclusion

jw schultz jw at pegasys.ws
Wed Jun 25 09:36:16 EST 2003


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.

-- 
________________________________________________________________
	J.W. Schultz            Pegasystems Technologies
	email address:		jw at pegasys.ws

		Remember Cernan and Schmitt



More information about the rsync mailing list