ref: 072c45d4633d5f03e3b79f9c60c3655a6d4a1149
dir: /rc/bin/replica/push/
#!/bin/rc
rfork en
fn usage {
echo 'usage: replica/push [-nv] replica-name [paths]' >[1=2]
exit usage
}
. /rc/bin/replica/defs $*
need clientproto clientexclude cfgopt clientdb clientroot serverroot paths
must servermount
must clientmount
exec replica/applychanges -p $clientproto $clientexclude $opt $cfgopt \
$clientdb $clientroot $serverroot $paths