From 755633063fbce984ec5ca7cfcbd65d9e9e96c1d7 Mon Sep 17 00:00:00 2001
From: "Carl N. Baldwin" <cnb@Cone.local>
Date: Sat, 15 Oct 2005 18:23:08 -0600
Subject: [PATCH] Make find command work on OSX

---
 find-cmd.sh | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/find-cmd.sh b/find-cmd.sh
index 14180f8..71972b6 100755
--- a/find-cmd.sh
+++ b/find-cmd.sh
@@ -1,5 +1,7 @@
 #!/bin/sh
 
-time find . \
-  \( -type d -o -type f -o -type l \) \
-  -printf "%y %#m %g %u %s %CDT%CT %p\0" > list
+{
+  for type in d f l; do
+    find . -type $type -printf "$type %#m %g %u %s %CY%Cm%Cd%CH%CM%CS %p\0"
+  done
+} > list
-- 
2.34.1