Mirroring two systems

Freerk J. Bosscha f.j.bosscha at nhl.nl
Tue Mar 19 18:54:44 EST 2002


Thanks for reading this question,

First off all, i'm  quit new working with rsync.

What I want is to exactly mirror a directory from one 
system to another system including removing non existing 
files on the targen if they do not exist on the source.

I though that adding the parameter --delete, would do the 
job, but nothing happens.

The exact command I give is:

/usr/local1/bin/rsync --compress --recursive --times --perms
--delete /var/imap/user/$first/$1.* mailbackup:mbox/$first/

What am I doing wrong,

----------------------
Freerk J. Bosscha

Networkadministrator
Noordelijke Hogeschool Leeuwarden
Tesselschadestraat 12
8913 HB  Leeuwarden
The Netherlands

Phone : xx-31-(0)58 2961 435
fax   : xx-31-(0)58 2961 466
mobile: xx-31-(0)6 231 28 068
e-mail: f.j.bosscha at nhl.nl
url   : http://www1.nhl.nl/~bosscha





More information about the rsync mailing list