-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sat, Mar 05, 2016 at 05:23:55AM +0000, Albretch Mueller wrote: > find works significantly faster when you bag various search patterns á la: > > -iname '*.ko' -or -iname '*.bin' -or -iname '*.txt' > > but, how could you do that using a batch strategy and setting a > variable with many "-[i]name ... -or -[i]name ..." cases? > > line-by-line strategies are too slow
[examples snipped: basically one complex find faster than three] What exactly is what you want to do? I'd say "use the first strategy, it's faster" -- but I have the feeling I haven't understood you correctly. Regards - -- tomás -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlbadrYACgkQBcgs9XrR2kadLACdE847fsxhCmh05yWDYZj3ZOqW KTkAnA6m27Fa6XsuPZL2GAlVuhyJIONY =uYHx -----END PGP SIGNATURE-----