Created
November 6, 2013 17:57
-
-
Save mwoodiupui/7340959 to your computer and use it in GitHub Desktop.
Untested script to load a set of AIPs from a configured directory, if they are there.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/sh | |
WHO="ferd@berfel" | |
CONTENT="~/content" | |
DSPACE_HOME="~/dspace" | |
SITE=`echo ${CONTENT}/SITE@* | cut -f1 -d' '` | |
if [ -n "${SITE}" ] | |
then | |
echo ${DSPACE_HOME}/bin/dspace packager \ | |
--type AIP \ | |
--no-user-interaction \ | |
--install \ | |
--eperson ${WHO} \ | |
--restore \ | |
${SITE} | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment