Old Release
This documentation relates to an old version of DSpace, version 6.x. Looking for another version? See all documentation.
Support for DSpace 6 ended on July 1, 2023. See Support for DSpace 5 and 6 is ending in 2023
You can pass a sequence of commands into the dspace
command-line tool using the read
command.
Execute commands... | this way |
---|---|
...from a file | [dspace]/bin/dspace read a-command-file |
...in a pipeline |
|
The command script (a-command-file
in the example above) should contain one command per line, without the '/bin/dspace'. For example:
user --add --email john@example.com --password secret1 user --add --email marsha@example.com --password secret2
Overview
Content Tools