Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 528 Bytes

retrieve.md

File metadata and controls

32 lines (22 loc) · 528 Bytes

retrieve

Syntax

    dataset retrieve COLLECTION_NAME KEY ATTACHMENT_NAME

Description

retrieve writes out (to local disc) the items that have been attached to a JSON record in the collection with the matching KEY

Usage

Write out all the attached files for k1 in collection named "publications.ds"

    dataset retrieve publications.ds k1

Write out only the stats.xlsx file attached to k1

    dataset retrieve publications.ds k1 stats.xlsx