Upload monitor_push.sh with huggingface_hub
Browse files- monitor_push.sh +17 -0
monitor_push.sh
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/bin/bash
|
| 2 |
+
# Monitor push/upload progress
|
| 3 |
+
cd /Users/pd3rvr/Documents/pubs/THESIS/uploads/multimodal_data_annotator_dataset
|
| 4 |
+
echo "=== Push/Upload Progress ==="
|
| 5 |
+
if [ -f push_progress.txt ]; then
|
| 6 |
+
tail -30 push_progress.txt
|
| 7 |
+
elif [ -f push_output.log ]; then
|
| 8 |
+
tail -30 push_output.log
|
| 9 |
+
else
|
| 10 |
+
echo "Progress file not found yet..."
|
| 11 |
+
fi
|
| 12 |
+
echo ""
|
| 13 |
+
echo "=== Process Status ==="
|
| 14 |
+
ps aux | grep -E "(push_with_progress|upload_one_by_one)" | grep -v grep || echo "No upload process running"
|
| 15 |
+
echo ""
|
| 16 |
+
echo "=== Git Status ==="
|
| 17 |
+
git status --short 2>/dev/null | head -5 || echo "Not a git repo or no changes"
|