while : do if test -f NEWFILES then cd lib for i in shp wld mob obj zon do cp big.$i tinyworld.$i done cd .. rm NEWFILES fi if test -f dms then mv dms DMS fi ./DMS 2150 sleep 30 done