OK - looks like I have found a way, but I don't know if it's the most optimum.
Using the packager command, I can ingest a zip file with just the mets.xml file in it and point it to the community I want it to land under. It looks like this:
/[dspace]/bin/dspace packager -s -a -u -t AIP -e firstname.lastname@example.org -p 123456789/66280 mets.zip
This seems to work just fine, but what I would like to know now is:
1) What is the least content I need in the mets.xml file to accomplish this? All I want is a collection with no files (initially) and just a title.
2) Is there a command that will allow me to not have to zip the xml file?
The help message for the packager command /[dspace]/bin/dspace packager --help --type METS talks about the manifestOnly switch, but I don't know how to use it.
On Fri, Jan 4, 2013 at 8:00 PM, Mark Ehle <email@example.com> wrote:
I need a way to create an empty collection from the command line. We are automating the ingestion of newspaper PDF's and the structure-build command will allow me to do everything I need except create a collection by itself in a separate step. The community that the collection belongs to will already be established.
I'm using Dspace 3.0 on Ubuntu 12.10 server.
Computer Support Librarian
Battle Creek, MI