shithub: rc

ref: 1d259c06594034a05bb204bff8abca2564032258
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
}