shithub: rc

ref: 60cf13ebe55d6250b595590ef556e5151a0f2a38
dir: /bin/mkradio/

View raw version
#!/bin/rc
rfork n
rimport -C -c -u share aib /usr/share /n/share || exit rimport
if(! ~ $#* 0)
	t=$1
if not
	t=`{walk -demn /n/share/radio}
cd $home/m
for(i in `{walk -emn | awk '{if($1 > '^$t(1)^') print $2}'}){
	echo $i
	lofi <$i >/n/share/radio/$i
}