#!/bin/csh -f

set year = 2001
set finaldir = /users/rsg/observatory/sunphotometer/skyrad.pack.V4/V4.2/Org
while ($year < 2016) 
   echo $year
   mkdir -p $year
   set yy = `echo $year | cut -c3-4`
   /bin/mv ${yy}????.DAT $finaldir/${year}
   @ year ++
end



exit(0)

