up path for batch
This commit is contained in:
parent
b92acb415d
commit
50b130fe9b
|
@ -11,14 +11,14 @@
|
||||||
function batch_exif_photos {
|
function batch_exif_photos {
|
||||||
local min=$1
|
local min=$1
|
||||||
local max=$2
|
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)
|
echo $(seq $min $max)
|
||||||
|
|
||||||
for i in $(seq $min $max); do
|
for i in $(seq $min $max); do
|
||||||
filename=$i
|
filename=$i
|
||||||
file="$dir/GF0$filename.JPG"
|
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
|
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 GF0$filename.JPG"
|
||||||
|
|
Loading…
Reference in New Issue