/usr/local/bin/rsync -avz --delete /rebel-sdc/assp420 /rebel-sdc01/

and

/usr/local/bin/rsync -avz --delete /rebel-sdc/assp420/ /rebel-sdc01/

Obviously the easy answer is the "/" at the end of the source tree, but
what is the difference to rsync?  The reason I ask is that I used the
second version and proceeded to removed everything in the target
directory.  There are other assp* directories under the source and
target trees that I want to make identical (assp410, assp430, etc.).  So
under /rebel-sdc01 there are several directory structures.  Using the
second version of the command it removed everything under /rebel-sdc01
and put all the data under assp420 there; I wanted it to just put
assp420 under it.

Thanks.
-- 
=====================
Jeff Kennedy
Unix Administrator
AMCC
[EMAIL PROTECTED]

Reply via email to