have find to not print, ie. to supress as on lse condition
by BudiKusasi from LinuxQuestions.org on (#5BJ81)
How do we have find to not print, ie. to supress, when on else condition ?
Code: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 suppress it instead"
How to solve it as if it's omitted altogether it'll be printed out? Thanks before


Code: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 suppress it instead"
How to solve it as if it's omitted altogether it'll be printed out? Thanks before