summary refs log tree commit diff
path: root/Completion/Unix/Command/_find
blob: 33767c080ab91ade9efa481c80cc8c91c0bc1ef4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
#compdef find

_arguments \
  '(- *)-help' '(-)--help' \
  '(- *)-version' '(-)--version' \
  '(-L -P)-H[only follow symlinks when resolving command-line arguments]' \
  '(-H -P)-L[follow symlinks]' \
  '(-H -L)-P[never follow symlinks]' \
  '-D[print diagnostics]:deb option:(help tree search stat rates opt exec)' \
  '-O+[enable query optimisation]:level:(1 2 3)' \
  '*-daystart' \
  '*-d' '*-depth' \
  '*-follow' \
  '(-noignore_readdir_race)-ignore_readdir_race' \
  '*-maxdepth:maximum search depth' \
  '*-mindepth:minimum search depth' \
  '*-mount' \
  '(-ignore_readdir_race)-noignore_readdir_race' \
  '*-noleaf' \
  '-regextype:regexp syntax:(emacs posix-awk posix-basic posix-egrep posix-extended)' \
  '*-warn' \
  '*-nowarn' \
  '*-xdev' \
  '*-amin:access time (minutes):' \
  '*-cmin:inode change time (minutes):' \
  '*-mmin:modification time (minutes):' \
  '*-atime:access time (days):' \
  '*-ctime:inode change time (days):' \
  '*-mtime:modification time (days):' \
  '*-anewer:file to compare (access time):_files' \
  '*-cnewer:file to compare (inode change time):_files' \
  '*-newer:file to compare (modification time):_files' \
  '*-used:access after inode change (days):' \
  '*-empty' \
  '*-executable' \
  '*-false' \
  '*-fstype:file system type:_file_systems' \
  '*-gid:numeric group ID:' \
  '*-group:group:_groups' \
  '*-uid:numeric user ID:' \
  '*-user:user:_users' \
  '*-lname:link pattern to search:' \
  '*-ilname:link pattern to search (case insensitive):' \
  '*-name:name pattern to search:' \
  '*-iname:name pattern to search (case insensitive):' \
  '*-path:path pattern to search:' \
  '*-ipath:path pattern to search (case insensitive):' \
  '*-regex:regular expression to search:' \
  '*-iregex:regular expression to search (case insensitive):' \
  '*-wholename:full path pattern to search:' \
  '*-iwholename:full path pattern to search (case insensitive):' \
  '*-inum:inode number:' \
  '*-links:number of links:' \
  '*-nouser' \
  '*-nogroup' \
  '*-perm:file permission bits:' \
  '*-readable' \
  '*-writable' \
  '*-size:file size:' \
  '*-samefile:same inode as:_files' \
  '*-true' \
  '*-type:file type:((b\:block\ special\ file c\:character\ special\ file d\:directory p\:named\ pipe f\:normal\ file l\:symbolic\ link s\:socket))' \
  '*-xtype:file type:((b\:block\ special\ file c\:character\ special\ file d\:directory p\:named\ pipe f\:normal\ file l\:symbolic\ link s\:socket))' \
  '*-delete' \
  '*-exec:program: _command_names -e:*\;::program arguments: _normal' \
  '*-execdir:program: _command_names -e:*\;::program arguments: _normal' \
  '*-ok:program: _command_names -e:*\;::program arguments: _normal' \
  '*-okdir:program: _command_names -e:*\;::program arguments: _normal' \
  '*-fls:output file:_files' \
  '*-fprint:output file:_files' \
  '*-fprint0:output file:_files' \
  '*-fprintf:output file:_files:output format:' \
  '*-print' \
  '*-print0' \
  '*-printf:output format:' \
  '*-prune' \
  '*-quit' \
  '*-ls' \
  '*-and' '*-a' \
  '*-or' '*-o' \
  '*-not' \
  '*:directory:_files -/'