The cat
command prints to stdout a file or the entire snapshot content if no file is specified.
Click here for a list of related forum topics.
Quick overview
NAME:
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
-key <private key> the RSA private key to decrypt file chunks
-key-passphrase <passphrase> the passphrase to decrypt the RSA private key
Usage
duplicacy cat [command options] [<file>]
Options
-id <snapshot id>
You can specify a different snapshot id rather than the default id.
-r <revision>
By default the latest revision is selected.
If -r
is specified, then that revision is selected instead.
-storage <storage name>
You can use the -storage
option to select a different storage other than the default one.
-key <private key>
and -key-passphrase <passphrase>
If the storage is encrypted by an RSA public key, the corresponding private key is needed to print out the content of any file.
Notes
The file must be specified with a path relative to the repository.