Changelog History
Page 3
-
v8.2.0 Changes
December 06, 2020๐ Features
- โ Add new
--pruneflag, see #535 (@reima) - ๐ Improved the usability of the time-based options, see #624 and #645 (@gorogoroumaru)
- โ Add support for exact file sizes in the
--sizefilter, see #669 and #696 (@Rogach) - ๐จ
fdnow prints an error message if the search pattern requires a leading dot but
๐--hiddenis not enabled (Unix only), see #615
๐ Bugfixes
- ๐ Avoid panic when performing limited searches in directories with restricted permissions, see #678
- ๐ Invalid numeric command-line arguments are silently ignored, see #675
- ๐ Disable jemalloc on Android, see #662
- ๐ The
--helptext will be colorless ifNO_COLORhas been set, see #600 (@xanonid)
๐ Changes
- ๐ If
LS_COLORSis not set (e.g. on Windows), we now provide a more comprehensive default which
๐ includes much more filetypes, see #604 and #682 (mjsir911).
Other
- โ Add new
-
v8.1.1 Changes
May 25, 2020๐ Bugfixes
- ๐ Support colored output on older Windows versions if either (1)
--color=alwaysis set or (2) theTERMenvironment variable is set. See #469
- ๐ Support colored output on older Windows versions if either (1)
-
v8.1.0 Changes
May 19, 2020๐ Features
โ Add new
--owner [user][:group]command-line option See #307 (pull #581) (@alexmaco)
This can be used to filter results by ownership:files matching the 'exercise' pattern, owned by johnfd exercise --type file --owner john# files/directories that are not owned by johnfd --owner '!john'# โฆ owned by the 'students' groupfd --owner ':students'# โฆ owned by the 'students' group, but not by johnfd --owner '!john:students'
๐ Note that the new option is currently not available on Windows.
- โ Add support for a global ignore file (
~/.config/fd/ignoreon Unix), see #575 (@soedirgo) - ๐ Do not exit immediately if one of the search paths is missing, see #587 (@DJRHails)
๐ Bugfixes
- ๐ Reverted a change from fd 8.0 that enabled colors on all Windows terminals (see below) in order to support older Windows versions again, see #577. Unfortunately, this re-opens #469
- ๐ Fix segfault caused by jemalloc on macOS Catalina, see #498
- ๐ Fix
--globbehavior with empty pattern, see #579 (@SeamusConnor) - ๐ Fix
--list-detailson FreeBSD, DragonFly BSD, OpenBSD and NetBSD. See #573 (@t6)
๐ Changes
- ๐ Updated documentation for
--size, see #584
-
v8.0.0 Changes
April 16, 2020๐ Features
- โ Add a new
-l/--list-detailsoption to show more details about the search results. This is
basically an alias for--exec-batch ls -lwith some additionallsoptions.
This can be used in order to: - โ 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>wherefdcan only
exit when it finds the search results<count> + 1. - โ Add the alias
-1for--max-results=1, see #561. (@SimplyDanny). - โ Add new
--type socketand--type pipefilters, 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-batchor--list-details. Infd's output, we replace non-UTF-8
sequences with the "๏ฟฝ" character. However, if the output offdgoes to another process, we
๐ print the actual bytes of the filename. For more details, see #558 and #295. - ๐
LS_COLORSentries 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 aliasfd="fd --color=never"to
continue usingfdwithout colors. There is no change of behavior for
๐ Windows 10. See #469. - When using
--globin combination with--full-path, a*character does not match a path
separation character (/or\\) anymore. You can use**for that. This allows things like
fd -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 -xor
fd --execinstead. - Overall improved error handling and error messages.
Other
- ๐ Package maintainers on MacOS and Windows might think about adding (GNU)
lsas an optional dependency forfdto make full use offds new-l/--list-detailsoption. For MacOS,fdrelies onglswhich should be available viacoreutils. - ๐ Korean translation of the README, see: ํ๊ตญ์ด (@spearkkk)
- โ Add a new
-
v7.5.0 Changes
March 22, 2020๐ Features
- โ Added
--one-file-system(aliases:--mount,--xdev) to not cross file system boundaries on Unix and Windows, see #507 (@FallenWarrior2k). - โ Added
--base-directoryto change the working directory in whichfdis run, see #509 and #475 (@hajdamak). - ๐
fdwill not use colored output if theNO_COLORenvironment variable is set, see #550 and #551 (@metadave). - ๐
fd --execwill return exit code 1 if one of the executed commands fails, see #526 and #531 (@fusillicode and @Giuffre)
๐ Bug Fixes
- ๐ Fixed 'command not found' error when using zsh completion, see #487 (@barskern).
- ๐
fd -Lshould include broken symlinks, see #357 and #497 (@tommilligan, @neersighted and @sharkdp) - ๐ Display directories even if we don't have permission to enter, see #437 (@sharkdp)
๐ Changes
- โ Added
-
v7.4.0 Changes
September 15, 2019๐ Performance improvements
- ๐ Reduce number of
statsyscalls, 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/--globoption to switch to glob-based searches (instead of regular expression
based searches). This is accompanied by a new--regexoption 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/needfdto use/instead of\, see #428 and #153 (@mookid) - โ Added support for hidden files on Windows, see #379
- When
fdis run with the--exec-batch/-Xoption, 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-beforework for directories, see #470
Other
- ๐ Pre-built
fdbinaries should now be available forarmhftargets, see #457 (@detly) - ๐ง
fdis now available on Alpine Linux, see #451 (@5paceToast) - ๐
fdis 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)
- ๐
fdcan be installed via npm, see #438 (@pablopunk)
- ๐ Reduce number of
-
v7.3.0 Changes
February 13, 2019๐ Features
๐ New
--exec-batch <cmd>/-X <cmd>option for batch execution of commands, see #360 (@kimsnj).
This allows you to do things like:fd โฆ -X vim # open all search results in vim (or any other editor)fd โฆ -X ls -l # view detailed stats about the search results with 'ls'fd -e svg -X inkscape # open all SVG files in Inkscape
๐ Support for 24-bit color codes (when specified via
LS_COLORS) as well as
๐ different font styles (bold, italic, underline).
๐ Changes
- ๐ A few performance improvements, in particular when printing lots of colorized
๐ results to the console, see #370 - ๐ The
LS_COLORShandling has been "outsourced" to a separate crate (https://github.com/sharkdp/lscolors) that is now being used by other tools as well: fselect, lsd. For details, see #363.
Other
- ๐
fdwill be available in Ubuntu Disco DIngo (19.04), see #373 (@sylvestre) - ๐ This release should come with a static ARM binary (
arm-unknown-linux-musleabihf), see #320 (@duncanfinney) - ๐ Various documentation improvements, see #389
Thanks
๐จ Special thanks to @alexmaco for his awesome work on refactoring and code improvements! (see #401, #398, and #383)
-
v7.2.0 Changes
October 27, 2018๐ Features
- โ Added support for filtering by file modification time by adding two new options
--changed-before <date|duration>and--changed-within <..>. For more details, see the--helptext, the man page, the relevant issue #165 and the PR #339 (@kimsnj) - โ Added
--show-errorsoption to enable the display of filesystem error messages such as "permission denied", see #311 (@psinghal20 and @majecty) - โ Added
--maxdepthas a (hidden) alias for--max-depth, see #323 (@mqudsi) - โ Added
--search-pathoption which can be supplied to replace the positionalpathargument at any position.
๐ Changes
- ๐ Loosen strict handling of missing
--ignore-file, see #280 (@psinghal20) - ๐ Re-enabled
.ignorefiles, see #156.
๐ Bugfixes
fdcould previously get stuck when run from the root directory in the
๐ presence of zombie processes. This curious bug has been fixed in Rust 1.29 and higher. For more details, see #288, rust-lang/rust#50619 and the fix
Other
- ๐
fdhas officially landed in Debian! See #345 for details. Thanks goes to @sylvestre, @paride and possibly others I don't know about. - โ Added Chinese translation of README (@chinanf-boy)
Thanks
A special thanks goes to @joshleeb for his amazing improvements throughout
๐จ the code base (new tests, refactoring work and various other things)! - โ Added support for filtering by file modification time by adding two new options
-
v7.1.0 Changes
August 19, 2018๐ Features
- โ Added
--sizefilter option, see #276 (@stevepentland, @JonathanxD and @alexmaco) - โ Added
--type empty(or-t e) to search for empty files and/or directories, see #273
๐ Changes
- With the new version,
.gitignorefiles will only be respected in Git repositories, not outside. - ๐ A few performance improvements for
--typesearches, see 641976c and 50a2bab
Other
- โ Added
-
v7.0.0 Changes
March 26, 2018๐ Features
- โ Added
--type executable(or-t x) to search for executable files only, see #246 (@PramodBisht) - โ Added support for
.fdignorefiles, see #156 and #241. - โ Added
--ignore-fileoption to add custom ignore files, see #156. - ๐ Suggest
--fixed-stringson invalid regular expressions, see #234 (@PramodBisht) - ๐ Detect when user supplied path instead of pattern, see #235.
๐ Changes
- ๐
.ignoreand.rgignorefiles are not parsed anymore. Use.fdignorefiles
or add custom files via--ignore-fileinstead. - โก๏ธ Updated to
regex-syntax0.5 (@cuviper)
๐ Bugfixes
- ๐ Properly normalize absolute paths, see #268
- ๐ Invalid utf8 filenames displayed when
-eis used, see #250 - ๐ If
--typeis used, fifos/sockets/etc. are always shown, see #260
Other
- Packaging:
- The Arch Linux package is now simply called
fd. - There is now a
fdebuild for Gentoo Linux. - There is a
scooppackage forfd(Windows). - There is a
Chocolateypackage forfd(Windows). - There is a Fedora
coprpackage forfd.
- The Arch Linux package is now simply called
- โ Added