Screenshots

This entry was posted by Tuesday, 7 April, 2009
Read the rest of this entry »

#!/bin/bash
# This script requires the imagemagick package
# this is the dir you save your images to
SAVEDIR=/home/wishes/logger/images/

while true
do

TIMEDATE=`date +%F-%k-%M`
WHOAMI=`whoami`

#you can edit this out – its just for verbose
echo “Taking shot”
/usr/bin/import -window root “${SAVEDIR}${TIMEDATE}-${WHOAMI}.jpg”

sleep 60
done

Last-Modified: 2007-03-07 19:38:50


Leave a Reply