]> Creatis software - clitk.git/commitdiff
Do not remove afs files and job log files at the end of the submission,
authorSimon Rit <simon.rit@creatis.insa-lyon.fr>
Wed, 12 Mar 2014 07:11:01 +0000 (08:11 +0100)
committerSimon Rit <simon.rit@creatis.insa-lyon.fr>
Wed, 12 Mar 2014 07:11:01 +0000 (08:11 +0100)
   only the other files

cluster_tools/gate_run_submit_cluster.sh

index ab348d91dd94679e05d2c4e4bd0a750ee9fb64b7..24fdab92e04d4408917ee8e98a9ede280753dc0d 100755 (executable)
@@ -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