Skip to content

Instantly share code, notes, and snippets.

@aarmot
Created October 14, 2014 18:54
Show Gist options
  • Save aarmot/6203c17687024099b66e to your computer and use it in GitHub Desktop.
Save aarmot/6203c17687024099b66e to your computer and use it in GitHub Desktop.
Take multiple screenshots from linux command line. Uses xdotool and scrot
#!/bin/sh
# Ubuntu:
# sudo apt-get install xdotool
while [ "$((i+=1))" != 100 ]; do
sleep 120
xdotool key F5
sleep 60
scrot
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment