I am sorry, but I am having trouble understanding your question because of the poor English in your message.
Does the -u or --update option help you? Normally rsync does not delete files that are excluded. A common problem is that people do not include a slash at the end of the source path and don't realize that that means the destination has the base directory name added onto it. - Dave Dykstra On Sun, Oct 21, 2001 at 09:46:29PM +0900, taisaki wrote: > I am taisaki > About how to carry out mirroring with both server > Although I would like you to teach > > About rsync, although it is a question, this time > hostA hostB It is related with ssh connection. > authorized_keys is held on both sides. In the environment which can be > used satisfactory > hostA /export/Data > The following directories > hostB /export/temp > a mirror is carried out to below -- making -- present rsync avue ssh-- > exclude '*-'--, although > [EMAIL PROTECTED]:/export/temp/is performed > This It is rsync avue ssh similarly at hostB. -- exclude'* -' -- as delete > user@hostname:/export/temp//export/Data/ > thing which performs hostA -> hostB & hostB -> hostA, and does not have ま > す in hostA at the first specification Since it has deleted when hostB is > suited, the file created by hostB will be erased. > > What method is there in canceling this? > > What to do All data created by hostA A mirror is carried out to hostB > and the file which is not in hostA deletes in that case. > All data created by hostB A mirror is carried out to hostA and it is in > that case. I understand that the file which is not in hostB is deleted. > > I ask of you well. >