Files
html/api/v76-scripts/registry-status.sh
2026-04-19 16:00:02 +02:00

9 lines
458 B
Bash
Executable File

#!/bin/bash
V1=/var/www/html/api/agent-avatars.json
V75=/var/www/html/api/agent-avatars-v75.json
V2=/var/www/html/api/agent-avatars-v2.json
n1=$(python3 -c "import json;print(len(json.load(open('$V1'))))" 2>/dev/null || echo 0)
n75=$(python3 -c "import json;print(len(json.load(open('$V75'))))" 2>/dev/null || echo 0)
n2=$(python3 -c "import json;print(len(json.load(open('$V2'))))" 2>/dev/null || echo 0)
echo "V1_legacy:$n1 V75_emoji:$n75 V2_extended:$n2"