Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
JeremyGrosser committed Nov 16, 2011
1 parent 8083c45 commit 6ad5f47
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions README.md
Expand Up @@ -4,7 +4,7 @@ Tablesnap
Theory of Operation
-------------------

Tablesnap is a script that uses inotify to monitor a directory for IN_MOVED_TO
Tablesnap is a script that uses inotify to monitor a directory for `IN_MOVED_TO`
events and reacts to them by spawning a new thread to upload that file to
Amazon S3, along with a JSON-formatted list of what other files were in the
directory at the time of the copy.
Expand Down Expand Up @@ -47,13 +47,15 @@ All configuration for tablesnap happens on the command line. If you are using
the Debian package, you'll set these options in the `DAEMON_OPTS` variable in
`/etc/default/tablesnap`.

$ tablesnap --help
Usage: tablesnap [options] [...]
Usage: tablesnap [options] <bucket> <path> [...]
Options:
-h, --help show this help message and exit
-k AWS_KEY, --aws-key=AWS_KEY
-s AWS_SECRET, --aws-secret=AWS_SECRET
-r, --recursive Recursively watch the given path(s)s for new SSTables
-a, --auto-add Automatically start watching new subdirectories within path(s)
-B, --backup Backup existing SSTables to S3 if they're not already there

Options:
-h, --help show this help message and exit
-k AWS_KEY, --aws-key=AWS_KEY
-s AWS_SECRET, --aws-secret=AWS_SECRET

For example:

Expand Down

0 comments on commit 6ad5f47

Please sign in to comment.