From 8402cd961fbda4673a11b8d4292813fb9459083d Mon Sep 17 00:00:00 2001 From: Tyrel Souza Date: Tue, 18 Dec 2018 14:43:37 -0500 Subject: [PATCH] fewer OSA --- bin/SC | 2 -- 1 file changed, 2 deletions(-) diff --git a/bin/SC b/bin/SC index df62411..cd83333 100755 --- a/bin/SC +++ b/bin/SC @@ -3,12 +3,10 @@ set -e FILENAME="/Users/tyrel/tmp/screenshot.png" screencapture -i $FILENAME -osascript -e "display notification \"Saved $FILENAME\" with title \"Tyrel Upload\"" sleep 1 MD5=($(md5 -q "$FILENAME")) -osascript -e "display notification \"Saved $MD5\" with title \"Tyrel Upload\"" fname=$MD5.png scp -rp "$FILENAME" vps:/www/tyrelsouza.com/screenshots/$fname; osascript -e "display notification \"Uploaded $FILENAME to https://tyrelsouza.com/screenshots/$fname\" with title \"Tyrel Upload\""