#!/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
General
Content
Integrations