dpla-monitor-ingest-remap
Orchestrator
set -a
source .env
set +a
./scripts/status/ingest-status.sh --watch
Manual remap
set -a
source .env
set +a
HUB=<hub>
DATA_ROOT="${DPLA_DATA:-$HOME/dpla/data}"
while true; do
echo ""
date
for step in mapping enrichment jsonl; do
step_dir="$DATA_ROOT/$HUB/$step"
latest=$(ls -1d "$step_dir"/*/ 2>/dev/null | sort -r | head -1 || true)
latest="${latest%/}"
if [[ -z "$latest" ]]; then
echo "$step: (no output yet)"
continue
fi
if [[ -f "$latest/_SUCCESS" ]]; then
echo "$step: SUCCESS $(basename "$latest")"
else
echo "$step: RUNNING $(basename "$latest")"
fi
done
sleep 30
done
Use this skill with your AI agent:
Open on Skill Issue to copy, download, or add to your library.
Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.