diff --git a/hugin-gopro-fusion/move_batch.sh b/hugin-gopro-fusion/move_batch.sh index e68c2f8b..2385db8c 100755 --- a/hugin-gopro-fusion/move_batch.sh +++ b/hugin-gopro-fusion/move_batch.sh @@ -24,10 +24,12 @@ for i in $(seq -f "%03g" ${start_num} ${end_num}); do if [ -f "/home/poule/encrypted/stockage-syncable/photos/imageries/gopro/hugin_assemblages_script_output/${src_file}" ]; then mv -- "/home/poule/encrypted/stockage-syncable/photos/imageries/gopro/hugin_assemblages_script_output/${src_file}" "${dst_file}" echo "Déplacé ${src_file} -> ${dst_file}" - else - echo "Fichier '${src_file}' introuvable." +# else +# echo "Fichier '${src_file}' introuvable." fi done +echo "dossier de destination: + $dst_dir" # supprimer les fichiers pto bash /home/poule/encrypted/stockage-syncable/www/development/html/scripts/hugin-gopro-fusion/remove_pto_batch.sh $start_num $end_num diff --git a/hugin-gopro-fusion/remove_pto_batch.sh b/hugin-gopro-fusion/remove_pto_batch.sh index 71d63ebd..9b32a5e5 100755 --- a/hugin-gopro-fusion/remove_pto_batch.sh +++ b/hugin-gopro-fusion/remove_pto_batch.sh @@ -10,17 +10,18 @@ fi start_num="$1" end_num="$2" src_base_name="merging_" +count=0 - -# Déplacer des fichiers depuis le répertoire actuel vers le nouveau dossier +echo "supprimer des fichiers PTO " +# supprimer des fichiers PTO for i in $(seq -f "%03g" ${start_num} ${end_num}); do src_file="${src_base_name}${i}.pto" if [ -f "/home/poule/encrypted/stockage-syncable/photos/imageries/gopro/INBOX_PTO_hugin/${src_file}" ]; then rm -rf "/home/poule/encrypted/stockage-syncable/photos/imageries/gopro/INBOX_PTO_hugin/${src_file}" count=$((count+1)) - else - echo "Fichier '${src_file}' introuvable." +# else +# echo "Fichier '${src_file}' introuvable." fi done