From 34522094c0c5d1dc8e296e11f2e57f05b2224e21 Mon Sep 17 00:00:00 2001 From: Tykayn Date: Fri, 9 Feb 2024 10:42:36 +0100 Subject: [PATCH] =?UTF-8?q?hugin:=20up=20suite=20de=20dossiers=20et=20exif?= =?UTF-8?q?=20batch=20pour=20enlever=20le=200=20avant=20les=20num=C3=A9ros?= =?UTF-8?q?=20d'assemblage?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hugin-gopro-fusion/exif_batch.sh | 6 +++--- hugin-gopro-fusion/suite.sh | 2 ++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/hugin-gopro-fusion/exif_batch.sh b/hugin-gopro-fusion/exif_batch.sh index 0bdab73c..b013aae4 100755 --- a/hugin-gopro-fusion/exif_batch.sh +++ b/hugin-gopro-fusion/exif_batch.sh @@ -8,7 +8,7 @@ ################################### # exemple # bash /home/poule/encrypted/stockage-syncable/www/development/html/scripts/hugin-gopro-fusion/exif_batch.sh 36077 38695 INBOX_a_assembler/rouen_3 -# va assigner les données exif des photos gopro GF036077.JPG à leur assemblage assemblage_063077.jpg +# va assigner les données exif des photos gopro GF36077.JPG à leur assemblage assemblage_063077.jpg #folder="rouen/rouen_oct23" @@ -25,11 +25,11 @@ function batch_exif_photos { for i in $(seq $min $max); do filename=$i - file="$dir/GF0$filename.JPG" + file="$dir/GF$filename.JPG" file_assemblage="/home/poule/encrypted/stockage-syncable/photos/imageries/gopro/hugin_assemblages_script_output/assemblage_0$i.jpg" if [ -f "$file" ] && [ -f "$file_assemblage" ]; then - echo "set the tags in assemblage $i from GF0$filename.jpg" + echo "set the tags in assemblage $i from GF$filename.jpg" exiftool -tagsFromFile "$file" $file $file_assemblage -overwrite_original echo "updated the exift tags of $file_assemblage" else diff --git a/hugin-gopro-fusion/suite.sh b/hugin-gopro-fusion/suite.sh index 7aaf3a4c..2b3c055b 100644 --- a/hugin-gopro-fusion/suite.sh +++ b/hugin-gopro-fusion/suite.sh @@ -1,5 +1,7 @@ #!/bin/bash echo "génération de fichier de batch" +# lancer: +# bash /home/poule/encrypted/stockage-syncable/www/development/html/scripts/hugin-gopro-fusion/suite.sh 132 145 echo "" > /home/poule/encrypted/stockage-syncable/photos/imageries/gopro/INBOX_a_assembler/assemble_plusieurs_dossiers.sh dossier_start=$1