From: Simon Rit Date: Wed, 12 Mar 2014 07:11:01 +0000 (+0100) Subject: Do not remove afs files and job log files at the end of the submission, X-Git-Tag: v1.4.0~124 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;ds=sidebyside;h=37ad98118921866c7754c94c3f0f708db8dbc695;hp=bf524e64011b3d10ce2ee7b86236e4c53efb8e5f;p=clitk.git Do not remove afs files and job log files at the end of the submission, only the other files --- diff --git a/cluster_tools/gate_run_submit_cluster.sh b/cluster_tools/gate_run_submit_cluster.sh index ab348d9..24fdab9 100755 --- a/cluster_tools/gate_run_submit_cluster.sh +++ b/cluster_tools/gate_run_submit_cluster.sh @@ -118,5 +118,5 @@ done echo "runid is ${RUNID}" if test "$(dnsdomainname)" = "in2p3.fr" then - rsync -av --remove-source-files -e "ssh -i ${HOME}/.ssh/ccin2p3" ${OUTPUTDIR}/ "linux1.dg.creatis.insa-lyon.fr:./cc/$(basename ${OUTPUTDIR})" + rsync -av --remove-source-files -e "ssh -i ${HOME}/.ssh/ccin2p3" ${OUTPUTDIR}/ "linux1.dg.creatis.insa-lyon.fr:./cc/$(basename ${OUTPUTDIR})" --exclude '.__afs*' --exclude "${OUTPUTDIR}/gatejob.*.o*" fi