[Top][All Lists]

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

RE: Help needed

From: Carlos Lopes
Subject: RE: Help needed
Date: Fri, 11 Sep 2015 10:32:51 +0100

Hi James,
Meanwhile I've managed to solve my problem using a batch file, but thanks 
Best regards

-----Original Message-----
From: address@hidden [mailto:address@hidden On Behalf Of James Youngman
Sent: quinta-feira, 10 de Setembro de 2015 23:33
To: Carlos Lopes
Cc: address@hidden
Subject: Re: Help needed

On Tue, Sep 8, 2015 at 12:18 PM, Carlos Lopes <address@hidden> wrote:
> Hi,
> I'm trying to use findutils to find files based on their name, but 
> since there are many patterns to search, I would like to know if it is 
> possible to pass a file with the patterns:

Roughly how many patterns?  20?  100_000_000?   Is it a fixed set or
does it change a lot?

For 20 relatively static patterns, you can make a single regex.   For
200 varying patterns you could use a shell loop to generate the
command line.   For 100_000_000 patterns you're better off generating
a list of all the files and then combining the patterns into 50_000 or so 
combined regexes.

IOW your optimal choice depends on, I think, details you didn't specify.

Could you provide more detail?


reply via email to

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