shithub: riscv

ref: 435a0f18d5a5f372b4d5a30953e8d6bfd9cf6d17
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