diff --git a/ingestcollectionchecksum b/ingestcollectionchecksum index 85cf5dd..16268f3 100755 --- a/ingestcollectionchecksum +++ b/ingestcollectionchecksum @@ -14,6 +14,7 @@ if [ -d "${1}" ] ; then db_fixity=$(cat "${i}") MEDIA_ID=$(basename "${i}" | cut -d'_' -f1) eventType="ingest" + echo "Ingesting ${i}" _report_to_db _eventoutcome_update _report_fixity_db @@ -23,6 +24,7 @@ elif [ -f "${1}" ] ; then db_source="${1}" MEDIA_ID=$(basename "${db_source}" | cut -d'_' -f1 | cut -d'.' -f1) eventType="ingest" + echo "Ingesting ${1}" _report_to_db _eventoutcome_update _report_fixity_db diff --git a/ingestschemas b/ingestschemas index 439661e..7446f45 100755 --- a/ingestschemas +++ b/ingestschemas @@ -10,6 +10,7 @@ if [ -d "${1}" ] ; then cd "${1}" for i in *.schema ; do xmlschema="${i}" + echo "Ingesting ${i}" MEDIA_ID=$(basename "${xmlschema}" | cut -d'.' -f1) eventType="ingest" _report_to_db @@ -20,6 +21,7 @@ elif [ -f "${1}" ] ; then xmlschema="${1}" MEDIA_ID=$(basename "${xmlschema}" | cut -d'.' -f1) eventType="ingest" + echo "Ingesting ${1}" _report_to_db _report_schema_db _eventoutcome_update