[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 10:56:27 +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
- To have find to not print, ie. to supress, when a condition,
Budi <=