Deprecated: Assigning the return value of new by reference is deprecated in
/home/www/web535/html/dokuwiki/inc/parser/parser.php on line
66
Deprecated: Assigning the return value of new by reference is deprecated in
/home/www/web535/html/dokuwiki/inc/parser/lexer.php on line
292
Deprecated: Assigning the return value of new by reference is deprecated in
/home/www/web535/html/dokuwiki/inc/parser/handler.php on line
22
Deprecated: Assigning the return value of new by reference is deprecated in
/home/www/web535/html/dokuwiki/inc/parser/handler.php on line
44
Deprecated: Assigning the return value of new by reference is deprecated in
/home/www/web535/html/dokuwiki/inc/parser/handler.php on line
208
Deprecated: Assigning the return value of new by reference is deprecated in
/home/www/web535/html/dokuwiki/inc/parser/handler.php on line
236
Deprecated: Assigning the return value of new by reference is deprecated in
/home/www/web535/html/dokuwiki/inc/parser/handler.php on line
290
Deprecated: Assigning the return value of new by reference is deprecated in
/home/www/web535/html/dokuwiki/inc/parser/handler.php on line
323
Deprecated: Assigning the return value of new by reference is deprecated in
/home/www/web535/html/dokuwiki/inc/parser/handler.php on line
560
Deprecated: Function split() is deprecated in
/home/www/web535/html/dokuwiki/inc/parser/lexer.php on line
510
Deprecated: Function split() is deprecated in
/home/www/web535/html/dokuwiki/inc/parser/lexer.php on line
510
Deprecated: Function split() is deprecated in
/home/www/web535/html/dokuwiki/inc/parser/lexer.php on line
510
Deprecated: Assigning the return value of new by reference is deprecated in
/home/www/web535/html/dokuwiki/inc/parser/xhtml.php on line
980
#!/bin/bash
#==============================================================================
# VERSION : 0.0.1
# LICENCE : GPL
# FILENAME: shot.sh
# PURPOSE : capture images with my canon Powershot S50
# DATE : 2004-05-30
# REVISION: 2004-05-30
# AUTHOR : (c) 04.05.30 Bernd Luxenburger, bernd@rlux.de
# URL : http://berndlux.de
# ORIGINAL: (c) 04.05.30 Bernd Luxenburger, bernd@rlux.de
# USAGE : easy remote capturing with the tools
# : capture-1.0.1 (c) 2004 Petr Danecek
# http://www.ucl.cas.cz/~petr/plant-growth
# based on
# ptpcam (c)2001-2003 Mariusz Woloszyn <emsi@ipartners.pl>
# ptpcanon (c) 2003 Nikolai Kopanygin
# http://www.jalkapallo.org/superkolik/canon.html
# SW : bash, the tools above
# SYSTEM : GNU/LINUX
# INIFILE :
# =============================================================================
CPATH="/usr/local/bin/capture"
DATE=`date '+%d.%m.%y-%H.%M.%S'`
if [ -n "$1" ] ; then
FILE=$1
if [ -f $FILE ] ; then
echo "The file $FILE exists!"
FILE="capture-$DATE.jpg"
fi
else
FILE="capture-$DATE.jpg"
fi
if [ ! -f $FILE ] ; then
$CPATH "start"
$CPATH "flash off"
$CPATH "zoom 0"
$CPATH "metering spot"
$CPATH "focuspoint center"
#CPATH ""
#CPATH ""
#CPATH ""
$CPATH "capture $FILE"
echo "picture $FILE taken"
$CPATH "quit"
else
echo "the file $FILE exists!"
exit 1
fi
exit 0;