From 1f75698a2a8695a3b9399e67d0e2b32a39d2733d Mon Sep 17 00:00:00 2001 From: Francois Fleuret Date: Tue, 16 Mar 2010 22:50:04 +0100 Subject: [PATCH] Removed the date. --- dirtohtml.sh | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) 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 "
" -- 2.39.5