Compare commits

..

No commits in common. "6ee25170d7031a77c3bfe6655cf3afe8bf7a5f8a" and "9e853e0b6ed6e45bef3ae7266a3dee45cd09ffed" have entirely different histories.

3 changed files with 0 additions and 34 deletions

View File

@ -190,12 +190,8 @@ function makeBashScriptHugin(minmax: any) {
console.log('# ##############\n# pour lancer le script : \n', 'bash /home/poule/encrypted/stockage-syncable/photos/imageries/gopro/INBOX_PTO_hugin/hugin_executor_from_' + goproMin + '_to_' + goproMax + '.sh',
'\n' +
'\n # fusion des infos exif:' +
' bash /home/poule/encrypted/stockage-syncable/www/development/html/scripts/hugin-gopro-fusion/exif_batch.sh ' + goproMin + ' ' + goproMax + ' ' + gopro_fusion_separated_photos_folder,
'\n' +
'\n # déplacement en masse des fichiers assemblés:' +
' bash /home/poule/encrypted/stockage-syncable/www/development/html/scripts/hugin-gopro-fusion/move_batch.sh ' + goproMin + ' ' + goproMax + ' ' + gopro_fusion_separated_photos_folder,
'\n' +
'\n##############\n'
)

View File

@ -28,6 +28,3 @@ for i in $(seq -f "%03g" ${start_num} ${end_num}); do
echo "Fichier '${src_file}' introuvable."
fi
done
# 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

View File

@ -1,27 +0,0 @@
#!/bin/bash
# déplacer en masse des photos assemblées dans le dossier /home/poule/encrypted/stockage-syncable/photos/imageries/gopro/A_ORIENTER
# Argument validation
if [ "$#" -ne 2 ]; then
echo "Usage: $0 <start_number> <end_number>"
exit 1
fi
start_num="$1"
end_num="$2"
src_base_name="merging_"
# Déplacer des fichiers depuis le répertoire actuel vers le nouveau dossier
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."
fi
done
echo "Nombre de fichiers PTO supprimés : ${count}"