Skip to content

Instantly share code, notes, and snippets.

@act65
Last active March 26, 2018 23:37
Show Gist options
  • Save act65/c7a94cd2db582ab619c2e2b0ad42c67d to your computer and use it in GitHub Desktop.
Save act65/c7a94cd2db582ab619c2e2b0ad42c67d to your computer and use it in GitHub Desktop.
automated screen capture
#!/bin/bash
DATE=$(date +"%Y%m%d%H%M")
gnome-screenshot -f "/home/act65/repos/capture/images/$DATE.jpg"
# then add */2 * * * * /{path_to_this_file} to crontab using crontab -e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment