la --full-time | grep "2014-07-19" | awk '{ print $NF }' | xargs -i cp {} /d/Digitalfotos2014/07Juli/tourenwoche/2014-07-19_samstag
jhead -autorot *.JPG
jhead -ta+1:05:00 *.JPG
*ggf. Leertasten aus Dateinamen entfernen:
for i in *;do NEWNAME=`echo $i | tr -d " "`;mv "$i" "$NEWNAME";done
*Fotos umbenennen:
jhead -nf%d%m%Y-%H-%M-%S *
for i in * ; do convert $i -verbose -resize 1920x $i ; done
*Mit OpenShot Diashow erstellen
#!/bin/bash chmod 755 * jhead -autorot *.[jJ][pP][gG] for i in *.[jJ][pP][gG] ; do convert $i -verbose -resize 1920x $i ; done #mkdir mitlogo; n=1;for i in *.[jJ][pP][gG]; do composite -gravity NorthEast -compose Over /d/Alpenverein/logo_neu/anger/pdf/AV_anger_4c_pos_200x100.png $i mitlogo/bild_mit_logo$(printf "%04d" $n).jpg;n=`expr $n + 1`;done #cd mitlogo #chown peer:peer * chmod 755 * for i in *; do jhead -exonly -ft $i;done jhead -n%Y-%m-%d_%H:%M:%S *.[jJ][pP][gG]
#!/bin/bash jhead -autorot *.[jJ][pP][gG] mkdir raspberry;for i in *.[jJ][pP][gG] ; do convert $i -verbose -resize 1920x raspberry/$i ; done cd raspberry mkdir ../video; n=1;for i in *.[jJ][pP][gG]; do composite -gravity NorthEast -compose Over /d/Alpenverein/logo_neu/anger/pdf/AV_anger_4c_pos_200x100.png $i ../video/bild_mit_logo$(printf "%04d" $n).jpg;n=`expr $n + 1`;done cd ../video chown peer:users * chmod 755 * for i in *; do jhead -exonly -ft $i;done jhead -n%Y-%m-%d_%H:%M:%S *.[jJ][pP][gG] #jeden Tag in ein eigenes Verzeichnis verschieben #umbenennen #n=1;for i in *;do mv $i 2013-07-18_$(printf "%03d" $n).jpg;n=`expr $n + 1`;done