shithub: rc

ref: 5d803094ebf5bc6f6c0ccd869e3d8a4b783341ca
dir: /bin/mlu/

View raw version
#!/bin/rc -e
rfork n
if(! ~ $#* 2){
	echo usage: $0 listname destdir
	exit usage
}
d=`{pwd}
9fs lists.9front.org
cd /n/lists.9front.org/lists/$1
d=`{cleanname -d $d $2}
if(! test -d $d){
	echo destination $d doesn''t exist
	exit usage
}
syncab /n/lists.9front.org/lists/$1 $d | tee | rc