#! /bin/bash

mkdir $1
cd $1
rsh -l dorado1 $AUV_HOST "(cd \$AUV/logs/$1; gzip *.log; gzip *.cfg;)"
#gzip *.syslog)"
ncftpget -u dorado1 -p dorado1 $AUV_HOST . ~/auv/altex/onboard/logs/$1/*.gz
gunzip *.gz

echo
echo All Done
