Command camget

The camget tool fetches blobs, files, and directories.


Writes to stdout by default:

camget <blobref>                 // dump raw blob
camget -contents <file-blobref>  // dump file contents

Like curl, lets you set output file/directory with -o:

camget -o <dir> <blobref>
  (if <dir> exists and is directory, <blobref> must be a directory;
   use -f to overwrite any files)

camget -o <filename> <file-blobref>

Camget isn't very fleshed out. In general, using 'cammount' to just mount a tree is an easier way to get files back.

Package Files

camget.go doc.go graph.go

Package main imports 19 packages (graph). Updated 2018-01-28. Refresh now. Tools for package owners.