aboutsummaryrefslogtreecommitdiff
path: root/toys
diff options
context:
space:
mode:
Diffstat (limited to 'toys')
-rw-r--r--toys/pending/find.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/toys/pending/find.c b/toys/pending/find.c
index ab17dec4..58e554b8 100644
--- a/toys/pending/find.c
+++ b/toys/pending/find.c
@@ -12,14 +12,18 @@ config FIND
bool "find"
default n
help
- usage: find [<dir>] [<options]
+ usage: find [DIR] [<options>]
-name <pattern> match pattern
- -type [fcdl] match file type
+ -type [bcdflps] match file type
!, -a, -o not, and , or
(, ) group expressions
-mtime [-+]n match file modification time (to within 24 hours)
\t\t +=greater (older) than, -=less (younger) than
+
+ File types:
+ b block device d directory l symlink s socket
+ c char device f regular file p FIFO
*/
/* To Do: