Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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

...

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 verb -h}} to see details about the verb operation.

Examples:

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

Available operations

General use

- checker: Run the checksum checker
- checker-emailer: Send emails related to the checksum checker
- classpath: Calculate and display the DSpace classpath
- cleanup: Remove deleted bitstreams from the assetstore
- community-filiator: Tool to manage community and sub-community relationships
- create-administrator: Create a DSpace administrator account
- curate: Perform curation tasks on DSpace objects
- dsprop: View a DSpace property from dspace.cfg
- dsrun: Run a class directly
- embargo-lifter: 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: General index command (requires extra parameters)
- index-init: Initialise the search and browse indexes
- index-update: Update the search and browse indexes
- itemcounter: Update the item strength counts in the user interface
- itemupdate: Item update tool for altering metadata and bitstream content in items
- make-handle-config: Run the handle server simple setup command
- metadata-export: Export metadata for batch editing
- metadata-import: Import metadata after batch editing
- packager: Execute a packager
- registry-loader: Load entries into a registry
- structure-builder: Build DSpace community and collection structure
- sub-daily: Send daily subscription notices
- test-database: Test the DSpace database connection is OK
- setup-database: Create the database tables
- clean-database: Remove the database tables
- test-email: Test the DSpace email server settings are OK
- update-handle-prefix: Update handle records and metadata when moving from one handle to another
- update-discovery-index: Update Discovery Solr Search Index
- version: Show DSpace version and other troubleshooting information
- migrate-embargo: Embargo manager tool used to migrate old version of Embargo to the new one included in dspace3
- oai: OAI script manager

Legacy statistics

...

- 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.

...