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

2020-12-12 Thread Bernhard Voelker
On 12/12/20 4:56 AM, 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 > > ^ > > The

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

2020-12-12 Thread Budi
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**\

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

2020-12-12 Thread Bernhard Voelker
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