See also:
β logs
β etherpads
To generate the archive, just run "make".README.txt
#!/bin/bash # A command line photograph EXIF comment inserter was built to annotate photo files inside the files themselves. # The tool also comes with a reader to go through the annotations in the terminal. See readcomments.sh. # https://git.vvvvvvaria.org/varia/EXIF-image-commenter # How to use it? # $ sh addcaptions.sh [foldername] for f in $(ls $1); do # First display the image ... # Check if Chafa is installed, otherwise use feh if ! [ -x "$(command -v chafa)" ]; then feh $1/$f else chafa $1/$f fi # Then read the current comment of this image ... CURRENT=$(exiftool -S -Comment $1/$f | sed 's/[^ ]* //') echo "Currently this image is described as: $CURRENT" # Ask if the comment should be changed ... read -p "Would you like to edit this comment? [y/n] " choice case "$choice" in y|Y ) read -p "Please enter your new comment: " comment ;; n|N ) echo "Oke" && comment=$CURRENT;; * ) echo "Sorry that is invalid. Please choose y or n.";; esac # Save the new comment into the exif data exiftool $1/$f -overwrite_original -Comment="$comment" doneaddcaptions.sh
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ βββ ββββ βββ βββ ββββββββββ βββ ββββββββββ βββ ββββββββββ βββ ββββββββββ ββββ βββ ββββ ββββ βββ ββββββββββ βββ ββββββββββ βββ ββββββββββ βββ ββββββββββ ββββ βββ ββββ ββββ βββ βββ βββ βββ ββ ββββ βββ ββββββββββ βββ βββ βββ ββββ βββ ββββ ββββ βββ ββββββββββ βββ ββββββββ βββ ββββββ βββ ββββββββββ ββββ βββ ββββ ββββ βββ ββββββββββ βββ βββββββββ βββ ββββββ βββ ββββββββββ ββββ βββ ββββ βββββ βββ ββββββββββ βββ βββββββββ βββ ββββββ βββ ββββββββββ ββββ βββ ββββββββββ βββ ββββββββββ βββ βββββββββ βββ ββββββ βββ ββββββββββ ββββ βββ βββββββββ βββ ββββββββββ βββ ββββββββββ βββ ββββββββββ βββ ββββββββββ ββββ βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ _ | | o __, ,_ __ | | _ / | / | / |/ \ | | |_|/ \_/|_/ |_/\___/| |_/|_/ \/ |__/header.txt
#!/bin/bash # A command line photograph EXIF comment reader was built to inspect the annotations of photo files inside the files themselves. # The tool also comes with a writing script to add the annotations to the files. See addcomments.sh. # https://git.vvvvvvaria.org/varia/EXIF-image-commenter # How to use it? # $ sh readcaptions.sh [foldername] for f in $(ls $1); do CURRENT=$(exiftool -S -Comment $1/$f | sed 's/[^ ]* //') echo "$f $CURRENT" donereadcaptions.sh