Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

#!/bin/bashDATA=import.xmlURL="http://localhost:8180/cspace-services/imports"CONTENT_TYPE="Content-Type: application/xml"USER="admin@core.cspace.berkeley.edu:PASSWORD"echo "Sending $DATA"echo "to $URL"echo "with content type $CONTENT_TYPE"echo "as $USER"curl -X POST $URL -i -u "$USER" -H "$CONTENT_TYPE" -T $DATA -o curl.outmv $DATA ${DATA}.done
  • No labels