Skip to content

Instantly share code, notes, and snippets.

@w33ladalah
Created July 27, 2017 09:54
Show Gist options
  • Save w33ladalah/d707e47143b437007f6aec421a54f4a2 to your computer and use it in GitHub Desktop.
Save w33ladalah/d707e47143b437007f6aec421a54f4a2 to your computer and use it in GitHub Desktop.
Take screenshots every n seconds automatically. Works on Linux.
while true; do scrot -d $1 '%Y-%m-%d-%H:%M:%S.png' -e 'mv $f $2'; done;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment