Skip to content

Repository Command Line Interface

Brian Tingle edited this page Feb 25, 2017 · 1 revision

As part of the UCLDC project, I developed command line tools to interact with a centrally hosted DAMS.

The command line tools are being used by several campuses to manage their content in the repository. This is fantasy documentation for command line tools that would provide similar functionality for a hypothetical centrally hosted UC Hydra based DAMS.

rx

This works like aws CLI with a main command followed by sub-commands

rx ls

This command provides a means to list content in the repository.

Additionally, it can output repository metadata and file paths to JSON or sheets.google.com, and apply functions to transform repository data (clean up scripts).

rx upmeta

update meta for an object

rx upfile

upload or replace a file

rx mkdoc

create an empty object with a known identifier (to link up between file loading and metadata loading / placeholder for files that are missing or don't exist yet)

rx mvdoc

move a document/object between collections

Clone this wiki locally