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?
4.9.0-3ubuntu1
, but you're two releases behind that (ie. 22.04, 22.10 then 23.04) fyi: https://changelogs.ubuntu.com/changelogs/pool/main/f/findutils/findutils_4.9.0-5/changelog show changes to the version on my Ubuntu mantic system; but it's useful to contrast your older version up to latest available in Ubuntu repositories... – guiverc Sep 13 '23 at 07:50coreutils don't get upgraded
seems to me the real answer. – Jos Sep 13 '23 at 08:44find
individually? We are locked to the entire GNU? – Saeed Neamati Sep 13 '23 at 08:44wget -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
If you want to accept this comment as an answer I'll reopen this question and post it as an answer so that you can accept it. If not simply ignore this comment. – karel Sep 13 '23 at 09:04