#!/bin/tcsh
#
foreach m (201701 201702 201703 201704 201705 201706 201707 201708 201709 201710 201711 201712 201801 201802 201803 201804 201805 201806 201807 201808 201809 201810 201811 201812 201901 201902 201903 201904 201905 201906 201907 201908)
foreach i (0 1 2 3)
foreach j (0 1 2 3 4 5 6 7 8 9)
if (-e $m$i$j) then
  echo $m$i$j
  tar cvf $m$i$j.tar $m$i$j
  rm -rf $m$i$j
endif
end
end
end
#
