[clue-tech] scripted screenshots
Ken MacFerrin
lists at macferrin.com
Tue May 8 18:26:09 MDT 2007
David L. Willson wrote:
> I want to take a screenshot every ten seconds or minute or whatever, and
> store it in a folder without any disruption of what I'm doing, so that
> later, when I try to figure out what the f* I did all day long, I have
> some sort of a record.
Here's one that would give you a screenshot with datestamp.. Needs
"xwd" and imagemagick installed:
# xwd -root | convert xwd:- -resize 50% -quality 50
/path/to/file/shot_`(date +%F_%H:%M:%S)`.jpg
Should work from cron as well.
-Ken
More information about the clue-tech
mailing list