up path for batch

This commit is contained in:
Tykayn 2023-11-02 18:29:42 +01:00 committed by tykayn
parent b92acb415d
commit 50b130fe9b
1 changed files with 2 additions and 2 deletions

View File

@ -11,14 +11,14 @@
function batch_exif_photos {
local min=$1
local max=$2
local dir="/home/poule/encrypted/stockage-syncable/photos/gopro/rouen_oct23"
local dir="/home/poule/encrypted/stockage-syncable/photos/imageries/gopro/rouen_oct23"
echo $(seq $min $max)
for i in $(seq $min $max); do
filename=$i
file="$dir/GF0$filename.JPG"
file_assemblage="/home/poule/encrypted/stockage-syncable/photos/gopro/rouen_sequence_stiched/assemblage_0$i.JPG"
file_assemblage="/home/poule/encrypted/stockage-syncable/photos/imageries/gopro/rouen_sequence_stiched/assemblage_0$i.JPG"
if [ -f "$file" ] && [ -f "$file_assemblage" ]; then
echo "set the tags in assemblage $i from GF0$filename.JPG"