This functionality is now in rsync.