Summing up my current workflow to take pictures, get them into the computer, modify them and create the static album like https://fluxcoil.net/files/2012_japan_studytour_public/ .
# rename pic based on exif infos for i in P*.JPG; do mv $i $(exif $i | grep '^Date and Time (Origi' | sed -e 's,.*|,,' -e 's, ,_,' -e 's,:,,g').jpg; done
# for i in *; do if [[ $(identify -format '%[exif:orientation]' $i ) -eq 6 ]]; then # echo "portrait found: $i"; convert $i -rotate 90 "$(echo $i|sed -e 's,\.jpg,_rotated.jpg,')"; # rm $i # fi; done
# for i in *jpg; do # echo -n "working on: $i "; # if [[ $(identify -format '%[exif:orientation]' $i ) -eq 1 ]]; then # echo "landscape pic."; convert $i -resize 1920x "`echo $i|sed -e 's,\.jpg,_small.jpg,'`"; # else # echo "portrait pic."; convert $i -resize x1920 "`echo $i|sed -e 's,\.jpg,_small.jpg,'`"; # fi; # done
all: album -index index.html . show: for i in $( album -list_themes|grep ^Theme|sed -e 's,Theme: ,,' ); do album -theme $i ; read done nexus: mkdir -p nexus7 for i in $(find [012]* -maxdepth 1 -type f -name '*.jpg'); do convert $i -resize 1280x800 nexus7/$(echo $i | sed -e 's,.*/,,'); done