Versions Compared

Key

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

...

Code Block
[dspace]/bin/dspace import --add --eperson=joe@user.com --collection=CollectionID --source=itemszipfile_dir --zip=filename.zip --mapfile=mapfile

...

Code Block
[dspace]/bin/dspace import -a -e joe@user.com -c CollectionID -s itemszipfile_dir -z filename.zip -m mapfile

...

Code Block
[dspace]/bin/dspace import --replace --eperson=joe@user.com --collection=collectionID --source=items_dire --mapfile=mapfile

If you wish to replace content using a Zipfile, that's also possible.  The command is similar. But, in this situation "-s" refers to the directory of the zip file, and "-z" gives the name of the zipfile:

Code Block
[dspace]/bin/dspace import -r -e joe@user.com -c collectionID -s zipfile_dir -z filename.zip -m mapfile


Deleting or Unimporting Items in a Collection

...