Skip to content

Instantly share code, notes, and snippets.

@kwart
Last active September 23, 2019 19:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kwart/e18a4f727297f16dd9ec8d6dc80afad9 to your computer and use it in GitHub Desktop.
Save kwart/e18a4f727297f16dd9ec8d6dc80afad9 to your computer and use it in GitHub Desktop.
LInux - take the screenshot every 30 seconds
#!/bin/bash
while scrot '/tmp/scr-%Y%m%d-%H%M%S.png' -q 20; do
sleep 30
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment