#!/bin/tcsh foreach time (t03*) mkdir fs$time break end mv t03* fs$time cd fs$time rename t03 03 t03* cd ..