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 <[email protected]> wrote: > On Tue, 12 May 2020 at 17:32, bruce <[email protected]> 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 child dirs, and >> I want to find files containing "repos" and "github". >> >> The above cmd returns the err >> xargs: argument line too long >> >> Any pointers on my mistake? >> > > I don't think the output or "xargs -0" is suitable for the final "xargs > -0". Y > > > > >> >> Thanks >> _______________________________________________ >> users mailing list -- [email protected] >> To unsubscribe send an email to [email protected] >> Fedora Code of Conduct: >> https://docs.fedoraproject.org/en-US/project/code-of-conduct/ >> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines >> List Archives: >> https://lists.fedoraproject.org/archives/list/[email protected] >> > > > -- > George N. White III > > _______________________________________________ > users mailing list -- [email protected] > To unsubscribe send an email to [email protected] > Fedora Code of Conduct: > https://docs.fedoraproject.org/en-US/project/code-of-conduct/ > List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines > List Archives: > https://lists.fedoraproject.org/archives/list/[email protected] >
_______________________________________________ users mailing list -- [email protected] To unsubscribe send an email to [email protected] Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/[email protected]
