Created
June 23, 2014 02:02
-
-
Save andytlr/690216545cb0f374620f to your computer and use it in GitHub Desktop.
Non-public Dropbox folder screenshot
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dropboxuser=21267 # Replace with your ID | |
directoryname=shots | |
filename=shot_`date '+%Y-%m-%d_%H-%M-%S'`.png | |
path=~/Dropbox/$directoryname/ | |
mkdir -p $path | |
screencapture -o -i $path$filename | |
open --reveal $path$filename |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment