shithub: rc

ref: c80453cb7c64a03d7a4dd0e4158e351679749aad
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
}