add move assemblage and remove pto in exif_batch script
This commit is contained in:
parent
6ee25170d7
commit
afd6628508
@ -34,13 +34,7 @@ function batch_exif_photos {
|
|||||||
|
|
||||||
file_assemblage_with_zero="/home/poule/encrypted/stockage-syncable/photos/imageries/gopro/hugin_assemblages_script_output/assemblage_0$i.jpg"
|
file_assemblage_with_zero="/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 GF$filename.jpg"
|
|
||||||
exiftool -tagsFromFile "$file" $file $file_assemblage -overwrite_original
|
|
||||||
echo "updated the exift tags of $file_assemblage"
|
|
||||||
else
|
|
||||||
echo "batch_exif_photos: File $file does not exist."
|
|
||||||
fi
|
|
||||||
|
|
||||||
# test with previous zero
|
# test with previous zero
|
||||||
if [ -f "$file_with_zero" ] && [ -f "$file_assemblage_with_zero" ]; then
|
if [ -f "$file_with_zero" ] && [ -f "$file_assemblage_with_zero" ]; then
|
||||||
@ -49,10 +43,20 @@ function batch_exif_photos {
|
|||||||
echo "updated the exift tags of $file_assemblage_with_zero"
|
echo "updated the exift tags of $file_assemblage_with_zero"
|
||||||
else
|
else
|
||||||
echo "batch_exif_photos: File $file_with_zero does not exist."
|
echo "batch_exif_photos: File $file_with_zero does not exist."
|
||||||
|
if [ -f "$file" ] && [ -f "$file_assemblage" ]; then
|
||||||
|
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
|
||||||
|
echo "batch_exif_photos: File $file does not exist."
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
echo "# fin des assemblages exif"
|
echo "# fin des assemblages exif de $1 à $2"
|
||||||
}
|
}
|
||||||
|
|
||||||
batch_exif_photos $1 $2 $3
|
batch_exif_photos $1 $2 $3
|
||||||
|
|
||||||
|
bash /home/poule/encrypted/stockage-syncable/www/development/html/scripts/hugin-gopro-fusion/move_batch.sh $1 $2
|
||||||
|
bash /home/poule/encrypted/stockage-syncable/www/development/html/scripts/hugin-gopro-fusion/remove_pto_batch.sh $1 $2
|
||||||
|
Loading…
Reference in New Issue
Block a user