> but I also end up with
>
> /foo/bar/fred                 (which is now a duplicate - and can be
> deleted)
You're looking to add one of the --delete options to rsync. I've no idea
how to do that in grsync - I don't use it.
The exact incantation to use depends on when you want the deletion to
occur - have a look at the man page for more detail.
Vic.
--
Please post to: Hampshire@???
Web Interface: 
https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: 
http://www.hantslug.org.uk
--------------------------------------------------------------