Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 853 Bytes

File metadata and controls

19 lines (14 loc) · 853 Bytes

This code is used to create SAF import directories from a csv file.

The program input is a subdirectory that contains the csv file and bitstreams. The output are SAF subdirectories.

usage: read_input.py [-h] [-b BUNDLE] Parent directory Output SAF directory

Convert a directory containing a csv metadata file and bitstreams to DSpace Simple Archive Format.

positional arguments:
  Parent directory      full path to the directory (you can omit the final "/")
  Output SAF directory  full path to the output directory that will contain the SAF
                        subdirectories

optional arguments:
  -h, --help            show this help message and exit
  -b BUNDLE, --bundle BUNDLE
                        images can be added to an alternate bundle if you do not want them
                        included in the default (ORIGINAL) bundle