command
Version:
v0.4.5
Opens a new window with list of versions in this module.
Published: Jan 23, 2024
License: ISC
Opens a new window with license information.
Imports: 12
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
findp
parallel find - A simpler find with directories searched in parallel.
- no -exec
- no expressions, AND is assumed
- first arg must be path
Works the same as GNU find for supported args.
Suppored predicates
Usage of findp <path>:
-iname string
case-insensitive filename pattern
-ipath string
case-insensitive path pattern
-iregex string
case-insensitive regular expression
-maxdepth int
max depth (default -1)
-mindepth int
min depth (default -1)
-mmin string
mod time minutes (eg. -10, +5)
-mtime string
mod time days (eg. -1, +30)
-name string
filename pattern
-path string
path pattern
-print0
print with null instead of newline
-regex string
regular expression
-size string
file size (eg. -10M, +40k)
-type string
file type (d or f)
Benchmark
Command |
Mean |
Min |
Max |
Relative |
findp ~/src/ -name "*pric*" -size +1M |
21.7ms ± 400µs |
20.9ms |
24.5ms |
1.00 |
bfs ~/src/ -name "*pric*" -size +1M |
34ms ± 800µs |
32.8ms |
39.2ms |
1.57 ± 0.05 |
fd -u -g "*pric*" --size +1m ~/src/ |
34.5ms ± 700µs |
32.3ms |
36.4ms |
1.59 ± 0.05 |
find ~/src/ -name "*pric*" -size +1M |
78.3ms ± 1.1ms |
76.9ms |
82.8ms |
3.60 ± 0.09 |
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.