Skip to content

Releases: tavianator/bfs

Version 1.2.2

23 Jun 23:29
1.2.2
Compare
Choose a tag to compare
  • Minor bug fixes:
    • Fixed -exec ... '{}' + argument size tracking after recovering from E2BIG
    • Fixed -fstype if /proc is available but /etc/mtab is not
    • Fixed an uninitialized variable when given -perm +rw...
    • Fixed some potential "error: 'path': Success" messages
  • Reduced reliance on GNU coreutils in the testsuite
  • Refactored and simplified the internals of bftw()

Version 1.2.1

08 Feb 23:39
1.2.1
Compare
Choose a tag to compare
  • Performance optimizations

Version 1.2

21 Jan 00:08
1.2
Compare
Choose a tag to compare
  • Added support for the -perm +7777 syntax deprecated by GNU find (equivalent to -perm /7777), for compatibility with BSD finds
  • Added support for file birth/creation times on platforms that report it
    • -Bmin/-Btime/-Bnewer
    • B flag for -newerXY
    • %w and %Wk directives for -printf
    • Uses the statx(2) system call on new enough Linux kernels
  • More robustness to E2BIG added to the -exec implementation

Version 1.1.4

28 Oct 02:35
1.1.4
Compare
Choose a tag to compare
  • Added a man page
  • Fixed cases where multiple actions write to the same file
  • Report errors that occur when closing files/flushing streams
  • Fixed "argument list too long" errors with -exec ... '{}' +

Version 1.1.3

05 Oct 01:31
1.1.3
Compare
Choose a tag to compare
  • Refactored the optimizer
  • Implemented data flow optimizations

Version 1.1.2

01 Oct 15:46
1.1.2
Compare
Choose a tag to compare
  • Fixed -samefile and similar predicates when passed broken symbolic links
  • Implemented -fstype on Solaris
  • Fixed -fstype under musl
  • Implemented -D search
  • Implemented a cost-based optimizer

Version 1.1.1

11 Aug 02:36
1.1.1
Compare
Choose a tag to compare
  • Re-licensed under the BSD Zero Clause License
  • Fixed some corner cases with -exec and -ok parsing

Version 1.1

22 Jul 17:37
1.1
Compare
Choose a tag to compare
  • Implemented some primaries from NetBSD find:
    • -exit [STATUS] (like -quit, but with an optional explicit exit status)
    • -printx (escape special characters for xargs)
    • -rm (alias for -delete)
  • Warn if -prune will have no effect due to -depth
  • Handle y/n prompts according to the user's locale
  • Prompt the user to correct typos without having to re-run bfs
  • Fixed handling of paths longer than PATH_MAX
  • Fixed spurious "Inappropriate ioctl for device" errors when redirecting -exec ... + output
  • Fixed the handling of paths that treat a file as a directory (e.g. a/b/c where a/b is a regular file)
  • Fixed an expression optimizer bug that broke command lines like bfs -name '*' -o -print

Version 1.0.2

16 Jun 00:39
1.0.2
Compare
Choose a tag to compare

Bugfix release.

  • Fixed handling of \0 inside -printf format strings
  • Fixed -perm interpretation of permcopy actions (e.g. u=rw,g=r)

Version 1.0.1

17 May 23:21
1.0.1
Compare
Choose a tag to compare

Bugfix release.

  • Portability fixes that mostly affect GNU Hurd
  • Implemented -D exec
  • Made -quit not disable the implicit -print