help-bash
[Top][All Lists]
Advanced

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

Re: small side issue with find


From: ikhxcsz7y xmbott
Subject: Re: small side issue with find
Date: Thu, 4 Nov 2021 12:35:05 +0100

i can at most show the script that i rewrote then with gawk grep -v style



On Thu, Nov 4, 2021, 12:33 Greg Wooledge <greg@wooledge.org> wrote:

> On Thu, Nov 04, 2021 at 11:19:48AM +0100, Alex fxmbsw7 Ratchev wrote:
> > libTag/ is to get excluded
> >
> > i tried, -name libTag -prune -o otheropts
> >
> > i couldnt make it not show libTag
>
> You've at *least* got to show us the whole command you used.  You should
> know this by now.
>
> unicorn:~$ mkdir /tmp/x
> unicorn:~$ cd /tmp/x
> unicorn:/tmp/x$ mkdir good bad
> unicorn:/tmp/x$ touch good/file1 bad/file2
> unicorn:/tmp/x$ find . -name bad -prune -o -print
> .
> ./good
> ./good/file1
>
>

Attachment: countcode
Description: Binary data


reply via email to

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