"MaJ expl_transfert_dir.sh"
This commit is contained in:
parent
14d3975100
commit
2c4fed8e17
@ -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)"
|
||||
|
Loading…
Reference in New Issue
Block a user