projects
/
backups
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Just a regular commit
[backups/.git]
/
find-cmd.sh
diff --git
a/find-cmd.sh
b/find-cmd.sh
index e0f812b3d1d5ac3dd973143059eb709f1207e008..71972b6d30cd28e690463506ced9ab4e1b0ee79b 100755
(executable)
--- a/
find-cmd.sh
+++ b/
find-cmd.sh
@@
-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