#!/bin/bash # /usr/local/bin/webindex # http://crystalfaeries.net/posix/bin/webindex # celeste:crystalfaery WEBINDEX 2017-02-06 00:22:18+00:00 /usr/local/bin/weborphans /home/crystalfaeries.net http://crystalfaeries.net \ >& ~/txt/weborphans.txt for d in $(grep "index file inside" ~/txt/weborphans.txt | sed 's/^.* // ; s/$/\//' | sort -u) do ls -Fd $d/{HEADER,README}.html done \ 1> ~/txt/HEADEREADME.txt \ 2> ~/txt/webindex.txt