1
0
mirror of https://github.com/gilbertchen/duplicacy synced 2026-01-07 19:13:16 +00:00

Created cat (markdown)

gilbertchen
2017-11-10 11:33:42 -05:00
parent 023b4f4f3b
commit 56a2e976c2

22
cat.md Normal file

@@ -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] [<file>]
OPTIONS:
-id <snapshot id> retrieve from the snapshot with the specified id
-r <revision> the revision number of the snapshot
-storage <storage name> 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.