#!/bin/csh ############################################################ # Make the tree of directories; at the top level named after # a number, and each number has a-z under them. Also make # the by_id directory where the CDs get stored. ############################################################ foreach d ( 0 1 2 3 4 5 6 7 8 9 ) mkdir $d foreach e ( a b c d e f g h i j k l m n o p q r s t u v w x y z ) mkdir $d/$e end end mkdir by_id mkdir all cd all foreach d ( 0 1 2 3 4 5 6 7 8 9 ) ln -s ../$d . end