From 98666ab7737d31d3270f3e0b057c09c96d23b340 Mon Sep 17 00:00:00 2001 From: Tykayn Date: Thu, 23 Nov 2023 18:10:09 +0100 Subject: [PATCH] up find auto numbers in folder --- hugin-gopro-fusion/exif_batch.sh | 2 +- hugin-gopro-fusion/main.ts | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/hugin-gopro-fusion/exif_batch.sh b/hugin-gopro-fusion/exif_batch.sh index 3be74bf3..d69ff03e 100755 --- a/hugin-gopro-fusion/exif_batch.sh +++ b/hugin-gopro-fusion/exif_batch.sh @@ -29,7 +29,7 @@ function batch_exif_photos { # exiftool -tagsFromFile "$file" $file $file_assemblage -overwrite_original # echo "updated the exift tags of $file_assemblage" else - echo "File $file does not exist." + echo "batch_exif_photos: File $file does not exist." fi done } diff --git a/hugin-gopro-fusion/main.ts b/hugin-gopro-fusion/main.ts index 54315733..a0a9af5e 100644 --- a/hugin-gopro-fusion/main.ts +++ b/hugin-gopro-fusion/main.ts @@ -18,7 +18,7 @@ let mini_arguments: any = minimist(process.argv.slice(2)) * ces paramètres permettent de traiter par lots des assemblages sans avoir à scanner le dossier */ let gopro_fusion_separated_photos_folder = '' -let disable_pto_write = true; +let disable_pto_write = false; let previous_zero = '0'// numéro de photo gopro minimum front et back. correspond à GF080800.JPG + GB080800.JPG let goproMin = 80800// numéro de photo gopro minimum front et back. correspond à GF080800.JPG + GB080800.JPG @@ -276,8 +276,9 @@ let scriptsContent = `#!/bin/bash echo "éxécuter tous les fichiers PTO dans : ${dossier_assemblages_output}" cd ${dossier_assemblages_output} + + pwd `; -"\n pwd\n"; function main() {