Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: OAI CLI docs

...

The DSpace command launcher or CLI interface offers the execution of different maintenance scriptsoperations. As most of these are already documented in related parts of the documentation, this page is mainly intended to provide an overview of all available CLI operations, with links to the appropriate documentation.

Executing command line

...

ADD general howto for executing command line scripts

Available scripts

...

operations

The CLI interface is found at [dspace]/bin/dspace.  Execute it without arguments or with the -h option to see all available operations.  Execute dspace op -h to see details about the op operation.

Examples:

bin/dspace -h
bin/dspace cleanup -h
bin/dspace cleanup
bin/dspace cleanup --verbose

Available operations

General use

...

...

  • classpath: Calculate and display the DSpace classpath
  • clean-database: Remove the database tables. Malfunctions for this script have been reported:
    Jira
    serverDuraSpace JIRA
    serverIdc815ca92-fd23-34c2-8fe3-956808caf8c5
    keyDS-1480
  • cleanup: Remove deleted bitstreams from the assetstore

...

...

  • create-administrator: Create a DSpace administrator account

...

  • curate: Perform curation tasks on DSpace objects
  • doi-organiser: Transmit information about DOIs to the registration agency.
  • dsprop: View a DSpace property from dspace.cfg

...

  • dsrun: Run a class directly

...

...

  • Pre DSpace 3.0 embargo manager tool used to check, list and lift embargoes

...

  • export: Export items or collections

...

  • filter-media: Perform the media filtering to extract full text from documents and to create thumbnails

...

  • generate-sitemaps: Generate search engine and html sitemaps

...

  • harvest: Manage the OAI-PMH harvesting of external collections

...

  • import: Import items into DSpace
  • index-db-

...

...

...

  • itemcounter: Update the item strength counts in the user interface

...

  • itemupdate: Item update tool for altering metadata and bitstream content in items

...

...

...

  • metadata-import: Import metadata after batch editing
  • migrate-embargo: Embargo manager tool used to migrate old version of Embargo to the new one included in dspace3
  • oai: OAI script manager
  • packager: Execute a packager

...

  • read : execute a stream of commands from a file or pipe
  • registry-loader: Load entries into a registry
  • setup-database: Create the database tables
  • structure-builder: Build DSpace community and collection structure

...

...

...

...

  • test-email: Test the DSpace email server settings are OK

...

...

  • Handle prefix to another

...

  • user:  Create, List, Update, Delete EPerson (user) records
  • version: Show DSpace version and other troubleshooting information

Legacy statistics

Legacy statistics scripts

...

  • stat-general: Compile the general statistics

...

  • stat-initial: Compile the initial statistics

...

  • stat-monthly: Compile the monthly statistics

...

  • stat-report-general: Create the general statistics report

...

  • stat-report-initial: Create the initial statistics report

...

  • stat-report-monthly: Create the monthly statistics report

...

SOLR Statistics

Scripts for the statistics that are stored in SOLR, added in DSpace 1.6.

...

...

...

  • stats-util: Statistics Client for Maintenance of Solr Statistics Indexes