#! /bin/csh -f

@ i = 5325

while ($i <= 5385)
  set magdir = /mag/fd_M_96m_01d.00$i/
  mkdir /synoptic/arge/fd_M_96m_01d.00$i
  cp -r $magdir/*  /synoptic/arge/fd_M_96m_01d.00$i
  @ i++
end

