X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=blobdiff_plain;f=dirtohtml.sh;h=82fc1ba52d5454b4f34a963cbd60c76afd154224;hb=ff81e15c9417d9e4fa5efe39fb325b9fe8fdb2c0;hp=fe6532fec6f5a0e138b3405b041ca4c4ff5c4fbd;hpb=1f75698a2a8695a3b9399e67d0e2b32a39d2733d;p=scripts.git diff --git a/dirtohtml.sh b/dirtohtml.sh index fe6532f..82fc1ba 100755 --- a/dirtohtml.sh +++ b/dirtohtml.sh @@ -47,7 +47,7 @@ echo echo "
" -for d in $(find . -maxdepth 1 -type d -name "[^.]?*"); do +for d in $(find . -maxdepth 1 -type d -name "[^.]?*" | sort); do echo "${d}" # most_recent=$(find ${d} -type f -exec stat --printf="%Y %n\n" '{}' \; | sort | tail -1 | awk '{print $4}')