Skip to content

Instantly share code, notes, and snippets.

@dewomser
Last active November 20, 2024 17:36
Show Gist options
  • Save dewomser/aac4f78a0f9e636e2a82fa219357fdb2 to your computer and use it in GitHub Desktop.
Save dewomser/aac4f78a0f9e636e2a82fa219357fdb2 to your computer and use it in GitHub Desktop.
Für ein Fotoalbum. Batch-Job. Gleichnamige txt-Dateien erstellen . Inhalt sind exif Parameter der Fotos
#\*Photo Beschreibung als Text in .txt
#Für eine Fotoshow, soll für jedes Photo eine gleichlautende Datei aber mit Endung txt erstellt werden.
#Verwende zusätzlich "Keywords" aus dem Metatags Exif !
# Andere Lösung ; https://gist.github.com/dewomser/1666ad6283be13d51ed885709f8f309b’
for i in {5..7} ;do photo=100_125$i; exif=$(exiftool -Keywords $photo.JPG); echo -e "Fotosammlung\\nFoto $photo\\n $exif "> $photo.txt ;done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment