From 14d39751008deb9cfcb2cdda0beb4a3352346d30 Mon Sep 17 00:00:00 2001 From: Doug Le Tough Date: Sat, 22 Jul 2017 14:35:40 +0200 Subject: [PATCH] "MaJ expl_transfert_dir.sh" --- bin/expl_transfert_dir.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/expl_transfert_dir.sh b/bin/expl_transfert_dir.sh index a71d225..ce0ec72 100755 --- a/bin/expl_transfert_dir.sh +++ b/bin/expl_transfert_dir.sh @@ -140,7 +140,7 @@ function create_dst_dir function get_src_archive { fct_message "Création de l'archive /tmp/${ARCHIVE_NAME} du répertoire du répertoire ${src_host}:${src_dir}" -color jaune - ssh ${src_host} "sudo tar -C ${src_dir} -czf /tmp/${ARCHIVE_NAME} *" + ssh ${src_host} "sudo tar -C ${src_dir} -czf /tmp/${ARCHIVE_NAME} ./*" RET_VAL=$? if [ ! ${RET_VAL} -eq 0 ]; then ERROR="Erreur lors de la création de l'archive du répertoire source (1)"