Performance improvements
- Reduce number of
stat
syscalls, improving the performance for searches where file metadata is
required (--type
,--size
,--changed-within
, …), see #434 (@tavianator) - Use jemalloc by default, improving the performance for almost all searches, see #481. Note that
Windows and*musl*
builds do not profit from this.
Features
- Added a new
-g
/--glob
option to switch to glob-based searches (instead of regular expression
based searches). This is accompanied by a new--regex
option that can be used to switch back,
if users want toalias fd="fd --glob"
. See #284 - Added a new
--path-separator <sep>
option which can be useful for Windows users who
want/needfd
to use/
instead of\
, see #428 and #153 (@mookid) - Added support for hidden files on Windows, see #379
- When
fd
is run with the--exec-batch
/-X
option, it now exposes the exit status of the
command that was run, see #333. - Exit immediately when Ctrl-C has been pressed twice, see #423
Bugfixes
- Make
--changed-within
/--changed-before
work for directories, see #470
Other
- Pre-built
fd
binaries should now be available forarmhf
targets, see #457 (@detly) fd
is now available on Alpine Linux, see #451 (@5paceToast)fd
is now in the officla FreeBSD repositories, see #412 (@t6)- Added OpenBSD install instructions, see #421 (@evitalis)
- Added metadata to the Debian package, see #416 (@cathalgarvey)
fd
can be installed via npm, see #438 (@pablopunk)