mytardis storageboxΒΆ
usage: mytardis storagebox [-h] {list,get} ...
- Sub-commands:
- list
Display a list of storage box records.
usage: mytardis storagebox list [--limit LIMIT] [--offset OFFSET] [--order_by ORDER_BY] [--json] EXAMPLE $ mytardis storagebox list Model: StorageBox Query: http://mytardisdemo.erc.monash.edu.au/api/v1/storagebox/?format=json Total Count: 2 Limit: 20 Offset: 0 +----+------------------------------------------------+-----------------+ | ID | Name | Description | +====+================================================+=================+ | 1 | local box at /opt/mytardis/develop/var/store | Default Storage | +----+------------------------------------------------+-----------------+ | 2 | local box at /opt/mytardis/develop/var/staging | Default Staging | +----+------------------------------------------------+-----------------+
- Options:
--limit Maximum number of results to return. --offset Skip this many records from the start of the result set. --order_by Order by this field. --json=False Display results in JSON format.
- get
Display a single storage box record.
usage: mytardis storagebox get [-h] [--json] storage_box_id EXAMPLE $ mytardis storagebox get 2 +----------------------+-------------------------------------------------------------+ | StorageBox field | Value | +======================+=============================================================+ | ID | 2 | +----------------------+-------------------------------------------------------------+ | Name | local box at /opt/mytardis/develop/var/staging | +----------------------+-------------------------------------------------------------+ | Description | Default Staging | +----------------------+-------------------------------------------------------------+ | Django Storage Class | tardis.tardis_portal.storage.MyTardisLocalFileSystemStorage | +----------------------+-------------------------------------------------------------+ | Max Size | 2.842e+10 | +----------------------+-------------------------------------------------------------+ | Status | dirty | +----------------------+-------------------------------------------------------------+ +----------------------+-----------------------------------+ | StorageBoxOption Key | StorageBoxOption Value | +======================+===================================+ | location | /opt/mytardis/develop/var/staging | +----------------------+-----------------------------------+ +-------------------------+--------------------------------+ | StorageBoxAttribute Key | StorageBoxAttribute Value | +=========================+================================+ | scp_username | mydata | +-------------------------+--------------------------------+ | scp_hostname | mytardisdemo.erc.monash.edu.au | +-------------------------+--------------------------------+
- Positional arguments:
storage_box_id The storage box ID. - Options:
--json=False Display results in JSON format.