#!/bin/csh -f

foreach dir (weekly-xemacs weekly-info-bbdb weekly-xemacs-beta weekly-xemacs-beta-discuss weekly-xemacs-beta-patches)
  cd /home/kaplan/xemacs/$dir
  if (-e archive-old) then
    echo "archive-old exists.  Skipping $dir"
  else
    mv archive archive-old
    touch archive
    chmod 660 archive
    chown xemacs archive
    chgrp xemacs archive
    pwd
    ls -l
  endif
end
