md-to-html/convertir.sh

12 lines
296 B
Bash
Raw Normal View History

2026-05-16 16:32:25 +00:00
-#!/bin/sh
+#!/bin/bash
+set -euo pipefail
- for MD in $(ls *.md)
+ for md in *.md; do
+ [ -f "$md" ] || continue
- echo "USAR scp O ftp O CUALQUIER OTRA COSA PARA SUBIR LOS HTML: $HTML"
- cat $HTML
+ cp "$html" /output/
+ echo "https://portaljack.freeddns.org/${html}"