shithub: rc

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