!/bin/bash
ls /scratch/b.eds006/RST
if [ -z “$1” ]
then
echo “Need n parameter”
exit 1
else
srcfile=”/scratch/b.eds006/RST/$1_in_1″ destfile=”/nfshome/store02/users/b.eds006/matlab/SR_QScan_DV/RST/$1_in_1″
echo $srcfile
echo $destfile
cp -r $srcfile $destfile
echo “Files copied”
fi
~
~