Command line toolsGet


cn get OBJECT
cn get HASH on STORE

Downloads an object and writes it to STDOUT. If the object is not found, the program quits with exit code 1.

cn get HASH

As above, but uses the selected store.

… decrypted with AESKEY

Decrypts the object after retrieval.

cn save … as FILENAME

Saves the object to FILENAME instead of writing it to STDOUT.

cn save data of … as FILENAME

Saves the object's data to FILENAME.

Related commands

cn open envelope OBJECT
cn show record OBJECT [decrypted with AESKEY]
cn show hashes of OBJECT