To have find to not print, ie. to supress, when a condition
Budi <[email protected]>
| Newsgroups | gmane.comp.gnu.findutils.bugs |
|---|---|
| Message-ID | <CAH0GyZAPQ1i-JN44M-ktGATS70HBjBaN4P0uB99LcyY=P1u2NQ@mail.gmail.com> |
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
--------^
The pointed out by arrow alternative -printf "**%p**\n" is intended
to be instructing to suppress it instead"
How to solve it as if it's omitted altogether it'll be printed out?
Thanks before