summaryrefslogtreecommitdiff
path: root/rc/bin/replica/changes
blob: 469fce86669a938fbe852dab3c9151c96f815552 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/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