!/bin/sh

if [ -e ./config.sh ]; then

. ./config.sh

fi

[ -z "$baseURL" ] &&

export baseURL="$PWD" 

echo baseURL="$baseURL"

find . -name '*.gmi' |

while read -r file; do

    htmlfile=$(dirname "$file")/$(basename "$file" .gmi).html

    if [ ! -e "$htmlfile" ] ||

        [ -n "$(find "$file" -newer "$htmlfile")" ] ||

        [ "$1" = "-f" ]; then

        echo "Creando $htmlfile"

        ./gmi2html "$file" > "$htmlfile"

    fi

done

Proxy Information
Original URL
gemini://texto-plano.xyz/draco/update.sh
Status Code
Success (20)
Meta
application/octet-stream
Capsule Response Time
908.738193 milliseconds
Gemini-to-HTML Time
0.338366 milliseconds

This content has been proxied by September (3851b).