Uploaded image for project: 'DSpace'
  1. DSpace
  2. DS-2315

export without bitstreams

    XMLWordPrintable

    Details

    • Attachments:
      0
    • Comments:
      13
    • Documentation Status:
      Complete or Committed

      Description

      The attached PR implements --skip-bitstreams optional command line option for ItemExport.java which allows to export collection (or item) in the Simple Archive Format (SAF) format but without actually exporting bitstreams.

      This aids a lot when DSpace store contains a lot of bitstreams, exporting which could result in enormous waste of resources.

      Usage example:

      dspace export --id 123456789/2 --type COLLECTION --dest /home/dspace/test6 --number 3 --skip-bitstreams

      Which results in the following directory layout:
      dspace@km32719-02:~$ find test6/10
      test6/10
      test6/10/handle
      test6/10/dublin_core.xml
      test6/10/contents
      test6/10/metadata_sdm-archive-workflow.xml
      dspace@km32719-02:~$ cat test6/10/contents | head -n 5
      of-10141-0083-001.jpg bundle:ORIGINAL
      of-10141-0083-002.jpg bundle:ORIGINAL
      of-10141-0083-003.jpg bundle:ORIGINAL
      of-10141-0083-004.jpg bundle:ORIGINAL
      of-10141-0083-005.jpg bundle:ORIGINAL

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              helix84 Ivan Masár
              Reporter:
              kohts Petya Kohts
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: