1

I got this answer for Is it possible to chain two consecutive find commands? last year.

Today I wanted to test the latest recommendation to pipe two find commands together.

find ... -print0 | find -files0-from - ...

To my surprise it did not work and I got this error:

find: unknown predicate `-files0-from'

I checked the file version using file --version and it was find (GNU findutils) 4.8.0

This confuses me, as I use the Ubuntu 22.04.3 LTS and run apt update && apt upgrade every day.

So, how can I update my find command to the latest version?

1 Answers1

2

You can install findutils from Ubuntu 23.04 in Ubuntu 22.04 using these commands:

wget -c http://mirrors.kernel.org/ubuntu/pool/main/f/findutils/findutils_4.9.0-3ubuntu1_amd64.deb 
sudo apt install ./findutils_4.9.0-3ubuntu1_amd64.deb
karel
  • 122,292
  • 133
  • 301
  • 332