Re: An appropriate directory search tool?
- Date: Sat, 20 Oct 2018 13:08:10 -0000 (UTC)
- From: Dan Purgert <dan@xxxxxxxx>
- Subject: Re: An appropriate directory search tool?
Richard Owlett wrote:
> On 10/20/2018 05:23 AM, Étienne Mollier wrote:
>>> My take away from answers so far is "A script will be required."
>> Not necessarily, the trouble is: "find" is so vast, you can
>> spend hours in the manual to search for adequate option for
>> your specific need, and end up writing a script, instead of
>> having found "the proper option".
> I don't think "find" itself is the problem.
> Debian seems to do some 'black magic' to conflate "standard output" and
> "standard input". Otherwise a pipe command would be required between
> "find" and "grep".
No it doesn't. find has functionality built in to pass results onward
(-exec or -xargs)
|_|O|_| Registered Linux user #585947
|_|_|O| Github: https://github.com/dpurgert
|O|O|O| PGP: 05CA 9A50 3F2E 1335 4DC5 4AEE 8E11 DDF3 1279 A281