From: Andreas S. <a.s...@go...> - 2011-03-24 15:13:18
|
I use this hook-script for my astronomical sessions: #!/bin/sh DATE=$( date +%Y-%m-%d_%H:%M:%S ) if [ $ACTION = "download" ] then EXT=$(echo $ARGUMENT | cut -d. -f2) NEW=img_$DATE.$EXT mv $ARGUMENT $NEW mkdir -p preview_images #ufraw-batch --temperature=5780 --base-curve=linear --interpolation=bilinear --out-type=jpg --compression=90 --shrink=2 --rotate=no --out-path preview_images $NEW & ufraw-batch --embedded-image --out-path preview_images $NEW & fi On Thu, Mar 24, 2011 at 2:45 PM, Thomas Harvey <to...@al...> wrote: > Hi all. > > I'm shooting tethered, using the gPhoto CLI and I would like to use a hook script to add the new filename to a database after each shot. But iI don't really know where to start with the hook scripts. Can any one post some examples of anything? > > Thanks In advance > > Tom Harvey > ------------------------------------------------------------------------------ > Enable your software for Intel(R) Active Management Technology to meet the > growing manageability and security demands of your customers. Businesses > are taking advantage of Intel(R) vPro (TM) technology - will your software > be a part of the solution? Download the Intel(R) Manageability Checker > today! http://p.sf.net/sfu/intel-dev2devmar > _______________________________________________ > Gphoto-user mailing list > Gph...@li... > https://lists.sourceforge.net/lists/listinfo/gphoto-user > |