bug-findutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

To have find to not print, ie. to supress, when a condition


From: Budi
Subject: To have find to not print, ie. to supress, when a condition
Date: Sat, 12 Dec 2020 20:35:23 +0700

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]