Files
html/api/v76-scripts/skill-file-count-html.sh

7 lines
300 B
Bash
Executable File

#!/bin/bash
# V27 V89 scale - Opus WIRE continue - Skill: file-count-html
# Description: HTML files count
# Whitelist-safe timeout 8s
set -e
timeout 8 bash -c 'find /var/www/html -maxdepth 2 -name '*.html' | wc -l' 2>&1 || echo "{\"skill\":\"file-count-html\",\"error\":\"timeout_or_missing_tool\"}"