#!/bin/bash # Real-time progress monitor cd /Users/pd3rvr/Documents/pubs/THESIS/uploads/multimodal_data_annotator_dataset while true; do clear echo "==========================================" echo " HuggingFace Push Progress Monitor" echo "==========================================" echo "" echo "Time: $(date '+%H:%M:%S')" echo "" # Check if process is running if ps aux | grep -E "push_with_progress|git push" | grep -v grep > /dev/null; then echo "✅ Push is RUNNING" else echo "⏸️ Push process not found" fi echo "" # Show latest progress echo "=== Latest Progress ===" if [ -f push_progress.txt ]; then tail -20 push_progress.txt elif [ -f push_output.log ]; then tail -20 push_output.log else echo "Waiting for progress updates..." fi echo "" # Show git status echo "=== Git Status ===" git status --short 2>/dev/null | head -3 || echo "Checking..." echo "" echo "Press Ctrl+C to stop monitoring" sleep 5 done