Hi,
I'm trying to use "curate" using the command line
/dspace/bin/dspace curate -t checklinks -i all
/dspace/bin/dspace curate -t noop
and other, but every time i see error below:
usage: curate
-e,--eperson <arg> email address of curating eperson
-h,--help help
-i,--id <arg> Id (handle) of object to perform task on, or 'all'
to perform on whole repository
-p,--parameter <arg> a task parameter 'NAME=VALUE'
-q,--queue <arg> name of task queue to process
-r,--reporter <arg> relative or absolute path to the desired report
file. Use '-' to report to console. If absent, no
reporting
-s,--scope <arg> transaction scope to impose: use 'object',
'curation', or 'open'. If absent, 'open' applies
-t,--task <arg> curation task name; options: [noop,
profileformats, requiredmetadata, checklinks,
registerdoi]
-T,--taskfile <arg> file containing curation task names
-v,--verbose report activity to stdout
whole repo: CurationCli -t estimate -i all
single item: CurationCli -t generate -i itemId
task queue: CurationCli -q monthly
org.apache.commons.cli.ParseException: Required parameter -e missing!
at org.dspace.curate.CurationCli.assignCurrentUserInContext(CurationCli.java:45)
at org.dspace.curate.Curation.setup(Curation.java:230)
at org.dspace.scripts.DSpaceRunnable.parse(DSpaceRunnable.java:86)
at org.dspace.scripts.DSpaceRunnable.initialize(DSpaceRunnable.java:75)
at org.dspace.app.launcher.ScriptLauncher.executeScript(ScriptLauncher.java:148)
at org.dspace.app.launcher.ScriptLauncher.handleScript(ScriptLauncher.java:131)
at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:98)
Why? Best,
Karol