]> git.deb.at Git - debienna.git/blobdiff - EOSandGphoto/index.mdwn
thema fuer naechsten termin eingetragen
[debienna.git] / EOSandGphoto / index.mdwn
index cda8969ededbac1cd391397505d9d6f4be27246d..b8ea34d4e3ee929e158bdc63687a006743fe5cca 100644 (file)
@@ -1,10 +1,12 @@
-{{{
+
+
+[[!format txt """
 gphoto2 --set-config /main/camera/shutterspeed=1/20 --set-config /main/camera/resolution=1 --interval 5 --frames 5 --capture-image-and-download --hook-script ./rename_image.sh
-}}}
+"""]]
 ./rename_image.sh
-{{{
+[[!format txt """
 #!/bin/bash
 # We have to move images from gphoto2 because gphoto2 cannot move them...
 PREFIX="IMG_"
 [ $ACTION == "download" ] && (mv $ARGUMENT $(exif -t 0x0132 -m $ARGUMENT | sed -e's/:\| //g' -e's/$/.jpg/' -e"s/^/$PREFIX/")) || exit 0
-}}}
\ No newline at end of file
+"""]]
\ No newline at end of file