![]() Thereafter, every “delay” seconds the script took a screenshot, neatly squirreling away in /tmp/.captures for later analysis. ![]() I saved it as “capture.sh” and simply got it started with sh capture.sh &. I’ve tested this on my own system and it works great. While do screencapture -Smx $screendir/capture-$current.png If then mkdir $screendir chmod a+rwx $screendir fi Don’t fill your disk! counter=1 screendir=”/tmp/.captures” delay=300 # in seconds. ![]() # Every few minutes take a screenshot, keep the last X around
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |