Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View McKean's full-sized avatar

Christopher Scott McKean

View GitHub Profile

Keybase proof

I hereby claim:

  • I am mckean on github.
  • I am mckean (https://keybase.io/mckean) on keybase.
  • I have a public key ASAUU-ICoJUc4zC7J57qPaP3GMtVmXbhqU_186EbXT9YVwo

To claim this, I am signing this object:

@McKean
McKean / screenshot.sh
Created September 3, 2017 12:53
take screenshots and upload them to Dropbox with a share link
#! /bin/sh
# Run this and it will take a screenshot and upload it to dropbox
# scrot and dropbox_uploader need to be installed
shotsdir=$HOME/Pictures/screenshots
uploaddir=/Public/screenshots
filename="shot-`date +%Y-%m-%d-%H-%M-%S`.png"