#!/bin/csh -f

date
cd /

set fls = `ls | grep -v disk2 | grep -v disk1 | grep -v proc`

set cmd = `echo "tar Mclvf /dev/rmt0 " $fls`

echo "Starting BACKUP ..."
echo " "
# echo $cmd

echo " "
echo "Ubacite traku u uredjaj i pritisnite ENTER taster"
echo
set ff = ( $< )

if ( "$ff" == "" ) then
   $cmd
else
   echo "Odustali ste od BACKUPA"
endif

echo " "
date
echo "KRAJ BACKUPA"
