On 12/12/20 2:35 PM, Budi wrote:
> How do we have find to not print, ie. to supress, when on else condition ?
> 
> find .  -path '*/*t*s' \( -type d -printf "DIR:%p\n" -o -printf
> "**%p**\n" \) -o -print
>                                                                       
> --------^

This is the same question as before - and now on the correct mailing list.

> The pointed out by arrow alternative  -printf "**%p**\n" is intended
> to be instructing to suppress it instead"

I'm still not sure what exactly you wanted to achieve.
Please provide more context, at best a little reproducer:
i.e., a small example directory hierarchy, and what output you got,
and what output you expected instead.

Have a nice day,
Berny

Reply via email to