From: Francois Fleuret Date: Tue, 16 Mar 2010 21:50:04 +0000 (+0100) Subject: Removed the date. X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=commitdiff_plain;h=1f75698a2a8695a3b9399e67d0e2b32a39d2733d;p=scripts.git Removed the date. --- diff --git a/dirtohtml.sh b/dirtohtml.sh index 0c7315a..fe6532f 100755 --- a/dirtohtml.sh +++ b/dirtohtml.sh @@ -48,16 +48,17 @@ echo echo "
"
 
 for d in $(find . -maxdepth 1 -type d -name "[^.]?*"); do
+    echo "${d}"
 
-    most_recent=$(find ${d} -type f -exec stat --printf="%Y %n\n" '{}' \; | sort | tail -1 | awk '{print $4}')
+    # most_recent=$(find ${d} -type f -exec stat --printf="%Y %n\n" '{}' \; | sort | tail -1 | awk '{print $4}')
 
-    if [[ ${most_recent} ]]; then
-        date=$(date -r ${most_recent})
-    else
-        date=$(date -r ${d})
-    fi
+    # if [[ ${most_recent} ]]; then
+        # date=$(date -r ${most_recent})
+    # else
+        # date=$(date -r ${d})
+    # fi
 
-    echo "${date} ${d}"
+    # echo "${date} ${d}"
 done
 
 echo "
"