Versions Compared

Key

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

...

Further, dates need to be in ISO-8601 format in order to be properly recognized. And for metadata any column that has multiple values, you can separate each entry with a double-pipe "||".  For example, for multiple files just set "filename" to "file1.pdf||file2.pdf||file3.pdf".  Similarly, multiple "dc.subject" values can be separated by "||" as shown in the below example.

While you are preparing the batch load, you have a directory containing a spreadsheet filled with metadata and content files.

...

From the terminal:

Code Block

git clone git://github.com/peterdietz/SAFBuilder.git
cd SAFBuilder
./recompile.sh

./safbuilder.sh

...

To run the tool over the sample data:

Code Block

./safbuilder.sh /path/to/SAFBuilder/src/edu/osu/kb/sample_data AAA_batch-metadata.csv

...


This is then immediately ready to be batch imported into DSpace. An example DSpace import command is.

Code Block

sudo /dspace/bin/dspace import -a 
    -e dietz.72@osu.edu 
    -c 1811/49710 
    -s /home/peterdietz/Desktop/MelanieSeedsBatch/SimpleArchiveFormat/ 
    -m /home/peterdietz/Desktop/MelanieSeedsBatch/seedsbatch1.map

...