From 56a2e976c254d9cf87c24e04a67cbf2b35cc000b Mon Sep 17 00:00:00 2001 From: gilbertchen Date: Fri, 10 Nov 2017 11:33:42 -0500 Subject: [PATCH] Created cat (markdown) --- cat.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 cat.md diff --git a/cat.md b/cat.md new file mode 100644 index 0000000..54d288c --- /dev/null +++ b/cat.md @@ -0,0 +1,22 @@ +``` +SYNOPSIS: + duplicacy cat - Print to stdout the specified file, or the snapshot content if no file is specified + +USAGE: + duplicacy cat [command options] [] + +OPTIONS: + -id retrieve from the snapshot with the specified id + -r the revision number of the snapshot + -storage retrieve the file from the specified storage +``` + +The *cat* command prints a file or the entire snapshot content if no file is specified. + +The file must be specified with a path relative to the repository. + +You can specify a different snapshot id rather than the default id. + +The `-r` option is optional. If not specified, the latest revision will be selected. + +You can use the `-storage` option to select a different storage other than the default one. \ No newline at end of file