Skip to content

Instantly share code, notes, and snippets.

@dfeng
Created November 14, 2013 21:57
Show Gist options
  • Save dfeng/7475012 to your computer and use it in GitHub Desktop.
Save dfeng/7475012 to your computer and use it in GitHub Desktop.
Dropbox Screenshot (Interactive)
#!/bin/sh
FILE=$(date +%Y%m%d-%H%M%S)
cd ~/Dropbox/Public/Screenshots
screencapture -i $FILE.png
echo "https://dl.dropboxusercontent.com/u/*/Screenshots/$FILE.png" | pbcopy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment