All Versions
- DSpace 7.x (Current Release)
- DSpace 8.x (Unreleased)
- DSpace 6.x (EOL)
- DSpace 5.x (EOL)
- More Versions...
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:
Code Block |
---|
user --add --email john@example.com --password secret1
user --add --email marsha@example.com --password secret2 |