#!/bin/bash
# script to zip a set of nc files contaiing LUTS and copy it in the rigth directory
# to be used with sarwing user
# sept 2024 , A Grouazel + V Lheureux
echo 'start'
dest=/home/datawork-cersat-public/cache/public/ftp/project/sarwing/xsardata
#source=/home/datawork-cersat-public/cache/project/sarwing/GMFS/nc_luts_reduce/
source=/home/datawork-cersat-public/cache/project/sarwing/GMFS/
echo 'cd to '$source
cd $source
pwd
echo 'zip files'
zip $dest/nc_luts_reduce.zip ./nc_luts_reduce/*
echo 'compression done'
ls -lah $dest/nc_luts_reduce.zip
echo 'end of script'
