From cd911c2023256259778b8dc0011abdc2a6affadc Mon Sep 17 00:00:00 2001 From: Andy Sykes Date: Fri, 4 Jan 2013 15:15:34 +0000 Subject: [PATCH] Update README.md --- README.md | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index ad38984..3cc4491 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,29 @@ or more of these older versions. Run the script like this: -clientbucket.rb /path/to/file + clientbucket.rb /path/to/file Where /path/to/file is the file on the system that you're looking for old versions of. + +The script runs interactively and prompts you for what you want to do. An example: + + # clientbucket.rb /some/test/file + [0]: 41f59421026a473a0378c58d539069c6 Thu Feb 09 15:56:36 +0000 2012 + [1]: 6bc6ab38660066ea8cf0743b889bd075 Mon Feb 20 15:23:59 +0000 2012 + [2]: 74da6d605bfd7ecad38904bc35a0292a Thu May 24 13:45:10 +0100 2012 + [3]: 3d7e9c6901aa0bc4dd7e6400384931c3 Thu May 24 13:48:57 +0100 2012 + [4]: 6bbb4aeeec2f439ec22be9813bbf049a Thu May 24 13:50:51 +0100 2012 + [5]: 2800331718994ab1e9ca84549b9debbb Thu May 24 15:39:56 +0100 2012 + [6]: 1a432127a080c77dde1cf14e18bcf4aa Thu May 24 15:43:32 +0100 2012 + ------------------------ + Pick a file, or x to exit: 2 + Restore (r), view (v), diff (d), unified diff (u), or x to go back: d + 1c1 + < HEY THERE + --- + > HELLO THERE + Restore (r), view (v), diff (d), unified diff (u), or x to go back: r + Restore to (default is to restore to /some/test/file: + Restoring to /some/test/file + Done +