v8.0.0
版本发布时间: 2020-04-16 16:30:51
sharkdp/fd最新发布版本:v10.2.0(2024-08-23 14:36:39)
Features
- Add a new
-l
/--list-details
option to show more details about the search results. This is basically an alias for--exec-batch ls -l
with some additionalls
options. This can be used in order to:- see metadata like permissions, owner, file size, modification times (#491)
- see symlink targets (#482)
- achieve a deterministic output order (#324, #196, #159)
- Add a new
--max-results=<count>
option to limit the number of search results, see #472, #476 and #555 This can be useful to speed up searches in cases where you know that there are only N results. Using this option is also (slightly) faster than piping tohead -n <count>
wherefd
can only exit when it finds the search results<count> + 1
. - Add the alias
-1
for--max-results=1
, see #561. (@SimplyDanny). - Add new
--type socket
and--type pipe
filters, see #511. - Add new
--min-depth <depth>
and--exact-depth <depth>
options in addition to the existing option to limit the maximum depth. See #404. - Support additional ANSI font styles in
LS_COLORS
: faint, slow blink, rapid blink, dimmed, hidden and strikethrough.
Bugfixes
- Preserve non-UTF8 filenames: invalid UTF-8 filenames are now properly passed to child-processes
when using
--exec
,--exec-batch
or--list-details
. Infd
's output, we replace non-UTF-8 sequences with the "�" character. However, if the output offd
goes to another process, we print the actual bytes of the filename. For more details, see #558 and #295. -
LS_COLORS
entries with unsupported font styles are not completely ignored, see #552
Changes
- Colored output will now be enabled by default on older Windows versions.
This allows the use of colored output if the terminal supports it (e.g.
MinTTY, Git Bash). On the other hand, this will be a regression for users
on older Windows versions with terminals that do not support ANSI escape
sequences. Affected users can use an alias
fd="fd --color=never"
to continue usingfd
without colors. There is no change of behavior for Windows 10. See #469. - When using
--glob
in combination with--full-path
, a*
character does not match a path separation character (/
or\\
) anymore. You can use**
for that. This allows things likefd -p -g '/some/base/path/*/*/*.txt'
which would previously match to arbitrary depths (instead of exactly two folders below/some/base/path
. See #404. - "Legacy" support to use
fd -exec
(with a single dash) has been removed. Usefd -x
orfd --exec
instead. - Overall improved error handling and error messages.
Other
- Package maintainers on MacOS and Windows might think about adding (GNU)
ls
as an optional dependency forfd
to make full use offd
s new-l
/--list-details
option. For MacOS,fd
relies ongls
which should be available viacoreutils
. - Korean translation of the README, see: 한국어 (@spearkkk)
1、 fd-musl_8.0.0_amd64.deb 746.95KB
2、 fd-musl_8.0.0_armhf.deb 634.29KB
3、 fd-musl_8.0.0_i386.deb 754.66KB
4、 fd-v8.0.0-arm-unknown-linux-gnueabihf.tar.gz 1.04MB
5、 fd-v8.0.0-arm-unknown-linux-musleabihf.tar.gz 918.81KB
6、 fd-v8.0.0-i686-pc-windows-gnu.zip 1.36MB
7、 fd-v8.0.0-i686-pc-windows-msvc.zip 851.43KB
8、 fd-v8.0.0-i686-unknown-linux-gnu.tar.gz 1.14MB
9、 fd-v8.0.0-i686-unknown-linux-musl.tar.gz 980.68KB
10、 fd-v8.0.0-x86_64-apple-darwin.tar.gz 1002.24KB
11、 fd-v8.0.0-x86_64-pc-windows-gnu.zip 1.3MB
12、 fd-v8.0.0-x86_64-pc-windows-msvc.zip 911.4KB
13、 fd-v8.0.0-x86_64-unknown-linux-gnu.tar.gz 1.13MB
14、 fd-v8.0.0-x86_64-unknown-linux-musl.tar.gz 995.32KB
15、 fd_8.0.0_amd64.deb 861.63KB
16、 fd_8.0.0_armhf.deb 730.3KB
17、 fd_8.0.0_i386.deb 885.31KB