Re: xargs + grep+grep

2020-05-12 Thread Terry Polzin
find /home -type f ! -path "*/csvn/*" ! -path "*/Android*/*" grep -e 'repos' -e 'github' |xargs ls -l On Tue, May 12, 2020 at 8:10 PM George N. White III wrote: > On Tue, 12 May 2020 at 17:32, bruce wrote: > >> Hi. >> >> simple issue that I'm not quite seeing. >> >> find /home -type f !

Re: xargs + grep+grep

2020-05-12 Thread George N. White III
On Tue, 12 May 2020 at 17:32, bruce wrote: > Hi. > > simple issue that I'm not quite seeing. > > find /home -type f ! -path "*/csvn/*" ! -path "*/Android*/*" -name > "*.*"-print0 | xargs -0 grep 'repos' | xargs -0 grep 'github' > > So, I start at the top of the dir, I skip a few of the

Re: xargs + grep+grep

2020-05-12 Thread bruce
On Tue, May 12, 2020 at 4:50 PM wrote: > > > Hi > > On Tue, 12 May 2020 16:31:44 -0400 bruce wrote: > > find /home -type f ! -path "*/csvn/*" ! -path "*/Android*/*" -name > > "*.*"-print0 | xargs -0 grep 'repos' | xargs -0 grep 'github' > > > So, I start at the top of the dir, I skip a

Re: xargs + grep+grep

2020-05-12 Thread Samuel Sieb
On 5/12/20 1:31 PM, bruce wrote: simple issue that I'm not quite seeing. find /home -type f ! -path "*/csvn/*" ! -path "*/Android*/*" -name "*.*"-print0 | xargs -0 grep 'repos' | xargs -0 grep 'github' So, I start at the top of the dir, I skip a few of the child dirs, and I want to

Re: xargs + grep+grep

2020-05-12 Thread Francis . Montagnac
Hi On Tue, 12 May 2020 16:31:44 -0400 bruce wrote: > find /home -type f ! -path "*/csvn/*" ! -path "*/Android*/*" -name > "*.*"-print0 | xargs -0 grep 'repos' | xargs -0 grep 'github' > So, I start at the top of the dir, I skip a few of the child dirs, and > I want to find files

xargs + grep+grep

2020-05-12 Thread bruce
Hi. simple issue that I'm not quite seeing. find /home -type f ! -path "*/csvn/*" ! -path "*/Android*/*" -name "*.*"-print0 | xargs -0 grep 'repos' | xargs -0 grep 'github' So, I start at the top of the dir, I skip a few of the child dirs, and I want to find files containing "repos" and