Last active
August 29, 2015 14:04
-
-
Save nownabe/c870c1ca37501eecc9e5 to your computer and use it in GitHub Desktop.
riakget.sh
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
#!/bin/bash | |
## For 7 databases in 7 worlds | |
## | |
## Install: | |
## $ wget -O riakget.sh https://gist.github.com/nownabe/c870c1ca37501eecc9e5/raw/a74e7295ca1b501c288d633aea9c750df412b0fc/gistfile1.sh | |
## $ chmod +x riakget.sh | |
## Usage: | |
## $ ./riakget.sh animals polly | |
bucket=$1 | |
key=$2 | |
curl -X GET http://localhost:10018/buckets/${bucket}/keys/${key} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment