Skip to content
gilbertchen edited this page Jul 22, 2020 · 5 revisions

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] []

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
   -key            the RSA private key to decrypt file chunks
   -key-passphrase  the passphrase to decrypt the RSA private key

Usage

duplicacy cat [command options] []

Options

-id

You can specify a different snapshot id rather than the default id.

-r

By default the latest revision is selected. If -r is specified, then that revision is selected instead.

-storage

You can use the -storage option to select a different storage other than the default one.

-key and -key-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.

Clone this wiki locally