Skip to content

Instantly share code, notes, and snippets.

@hannahherbig
Created June 23, 2012 04:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hannahherbig/2976877 to your computer and use it in GitHub Desktop.
Save hannahherbig/2976877 to your computer and use it in GitHub Desktop.
shot() {
for file in "/Users/andrew/Desktop/Screen Shot"*
do
hash=`shasum $file | awk '{ print $1 }'`
new="$hash.png"
mv $file "/Users/andrew/Dropbox/Public/files/$hash.png"
echo "$file => http://dl.dropbox.com/u/5489165/files/$hash.png"
done
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment