Scripts for converting DublinCore to MARC
Export the items you want to convert the metadata for, using the DSpace export tool.
Download and unpack the dc2marc.tar\ .
The files in this package are as follows:
clean_linefeeds.pl - formats the dublin_core.xml files in a new files named dublin_core
parse_indicators.pl - converts DCq to MARC - the result is a dspace.mrc file, containing all records
Both Perl programs are run using the m_marc.sh.script
USAGE: m_marc.sh (DIRECTORY where the dspace items were exported)
clean-before-rerun.sh - removes dublin_core files created by clean_linefeeds.pl, if for whatever reason you want to rerun the scripts.
USAGE: clean-before-rerun.sh (DIRECTORY where the dspace items were exported)
The scripts may require the installation of some Perl modules.
Developed at University of Toronto. Licensed under Creative Commons Attribution 2.5 Canada License
Contact tspace_at_tspace.library.utoronto.ca if you have any questions about the scripts.