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