Skip to content


Subversion checkout URL

You can clone with
Download ZIP

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: bryangarza/sour
base: 4bae9f145f
head fork: bryangarza/sour
compare: 1fd27e644b
  • 2 commits
  • 2 files changed
  • 0 commit comments
  • 1 contributor
Commits on Apr 13, 2012
@bryangarza added setup section 9d7549f
@bryangarza If the user is storing sour (the script) in a folder other than ~/.so…
…ur and

they accidentally delete ~/.sour, sour will create the directory before
searching for other needed dirs/files inside of it. Not that anyone would move
Showing with 9 additions and 1 deletion.
  1. +6 −0 README
  2. +3 −1 sour
@@ -3,6 +3,12 @@ sour
sour is a script that automates uploading of screenshots,
making uploading of screenshots seamless and painless.
+ - clone this repo into ~/.sour:
+ `git clone git:// ~/.sour`
+ - sour attempts to recreate missing files -- so if you accidentally delete
+ ~/.sour/key, don't worry, just run sour once and it'll fix itself
sour: usage:
-h | --help help
4 sour
@@ -37,7 +37,7 @@ function setDefaults {
# For createNeededFiles
needed_files=("$keyfile" "$logdestfile")
- needed_dirs=("$HOME/.sour/log")
+ needed_dirs=("$HOME/.sour" "$HOME/.sour/log")
@@ -60,10 +60,12 @@ function setDefaults {
# Files and directories needed for successful execution:
+# - .sour/
# - .sour/log/
# - .sour/key
# - .sour/log/(datestamp).log
+# Creating directories before populating with needed_files.
function createNeededFiles {
local self='createNeededFiles'
for directory in "${needed_dirs[@]}"; do

No commit comments for this range

Something went wrong with that request. Please try again.