# save_old3

# Move the command line arg files to old directory.
#
if [ $# -eq 0 ]
then
   echo "Usage: $0 file ..."
   exit 1
fi
if [ ! -d old ]
then 
   echo -n "Directory 'old' does not exist. Shall I create it? "
   read a
   if [ "$a" = y  -o  "$a" = Y ] ; then
      mkdir old
   else
      echo "Make it yourself then!!!"
      exit 1
   fi
fi
echo The following files will be saved in the old directory:
echo $*
for p in $*
do
   mv $p old/$p
   chmod 400 old/$p
done
ll old
