shithub: rc

ref: 4028a0b5f197066ef36281f45c8efbaaaf3dbe37
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
}