#! /bin/rc rimport temuorin /lib/ /n/tem cd /lib/muffet/gemini/ echo gmi clone -x *gmi /n/tem/gemini/. #for(f in *gmi) { # if(! test -f /n/tem/gemini/$f) clone -x $f /n/tem/gemini/. # if(test $f -nt /n/tem/gemini/$f) clone -x $f /n/tem/gemini/$f #} echo links clone -x /lib/muffet/links/*xml /n/tem/gemini/links/. echo src clone -x /usr/jalae/www/src/* /n/tem/gemini/src/. #cd /lib/muffet/media/bg cd /usr/jalae/www/media/bg spng=' ' for(f in *png) { if(! test -f /n/tem/gemini/media/bg/$f){ echo $spng spng=$spng^' '^$f } if not if(test $f -nt /n/tem/gemini/media/bg/$f){ echo $spng spng=$spng^' '^$f } } if(~ $spng *png){ png=`{echo $spng} clone -x $png /n/tem/gemini/media/bg/. } cd /usr/jalae/www/media/gemsound smp3=' ' for(f in *mp3) { if(! test -f /n/tem/gemini/media/sound/$f) smp3=$smp3^' '^$f if not if( test $f -nt /n/tem/gemini/media/sound/$f) smp3=$smp3^' '^$f } if(~ $smp3 *mp3) { mp3=`{echo $smp3} clone -x $mp3 /n/tem/gemini/media/sound/. }