shithub: riscv

ref: aa8af9c5a32b5f3afe0e612981fe4d9fada43d34
dir: /rc/bin/replica/changes/

View raw version
#!/bin/rc

rfork en

fn usage {
	echo 'usage: replica/changes replica-name [paths]' >[1=2]
	exit usage
}

. /rc/bin/replica/defs $*

need clientdb clientroot clientproto

must clientmount
exec replica/updatedb -p $clientproto -l -r $clientroot $clientexclude $clientdb $paths