Routine commit
[backups/.git] / find-cmd.sh
index e0f812b3d1d5ac3dd973143059eb709f1207e008..71972b6d30cd28e690463506ced9ab4e1b0ee79b 100755 (executable)
@@ -1,5 +1,7 @@
 #!/bin/sh
 
-time find /server/home \
-  \( -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