-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I trying to find png files created recently in my home. So I do: cer@Telcontar:~> find * -name "*.png" -newermt 2023-01-01 find: ‘Backups Discos/Disco Seagate Basic 2TB para backup de Legolas/Seagate Basic/Seagate’: Permission denied p.png cer@Telcontar:~> Can I make it not print the error? If I try: find -L . -name "*.png" -newermt 2023-01-01 there are so many errors that I can not read the results. - -ignore_readdir_race doesn't do it. cer@Telcontar:~> find -L . -name "*.png" -path ./.dosemu/ -prune -ignore_readdir_race -newermt 2023-01-01 ind: ‘./.dosemu/drives/d/tmp/systemd-private-2d6e8e36b0594f8bbdd30cba975d2743-upower.service-y7EoBi’: Permission denied find: ‘./.dosemu/drives/d/tmp/systemd-private-2d6e8e36b0594f8bbdd30cba975d2743-rtkit-daemon.service-2odVpf’: Permission denied find: ‘./.dosemu/drives/d/tmp/BootInfo-JQ12X6Q3’: Permission denied find: ‘./.dosemu/drives/d/tmp/BootInfo-bzvrn7Gi’: Permission denied find: ‘./.dosemu/drives/d/tmp/systemd-private-2d6e8e36b0594f8bbdd30cba975d2743-power-profiles-daemon.service-UnAvYi’: Permission denied find: ‘./.dosemu/drives/d/tmp/systemd-private-2d6e8e36b0594f8bbdd30cba975d2743-geoclue.service-aQ0lfj’: Permission denied find: ‘./.dosemu/drives/d/tmp/systemd-private-2d6e8e36b0594f8bbdd30cba975d2743-ntpd.service-Mr8llh’: Permission denied ^C Prune is not working. Of course I know I'm doing it wrong, but man doesn't say how to do it: -prune True; if the file is a directory, do not descend into it. If -depth is given, then -prune has no effect. Be- cause -delete implies -depth, you can- not usefully use -prune and -delete together. For example, to skip the directory src/emacs and all files and directories under it, and print the names of the other files found, do something like this: find . -path ./src/emacs -prune -o -print That's all it says, and no more examples. - -- Cheers Carlos E. R. (from 15.4 x86_64 at Telcontar) -----BEGIN PGP SIGNATURE----- iHoEARECADoWIQQZEb51mJKK1KpcU/W1MxgcbY1H1QUCY/5KoBwccm9iaW4ubGlz dGFzQHRlbGVmb25pY2EubmV0AAoJELUzGBxtjUfVPGUAn1vQdZOD+mlK4YrHtFLp pJyObyQUAJ94m76QZiFjZhQ9y52HGMhB1Odcsg== =s+fF -----END PGP SIGNATURE-----