Installation
go get perkeep.org/cmd/pk-get
Overview
The pk-get tool fetches blobs, files, and directories.
Examples
Writes to stdout by default:
pk-get <blobref> // dump raw blob pk-get -contents <file-blobref> // dump file contents
Like curl, lets you set output file/directory with -o:
pk-get -o <dir> <blobref> (if <dir> exists and is directory, <blobref> must be a directory; use -f to overwrite any files) pk-get -o <filename> <file-blobref>
Camget isn't very fleshed out. In general, using 'pk-mount' to just mount a tree is an easier way to get files back.