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

Re: How could you load only once a Linux ultility without a batch --input-files kind of option and repeatedly use it on many files? . . .



On Thu, May 14, 2020 at 01:28:19PM +0200, Nicolas George wrote:
Dan Ritter (12020-05-14):
find . -name "*foo" -print

I have not not noticed where Albretch told us that the millions of files
where all together and could be selected by a simplistic pattern on
their name.

The question was not how to find the files, the formulation of the
question indicates that Albretch has that covered.

The ultimate answer that Dan provided was to use find with xargs, which
is fine. And if you are going to use -print0, it is often a good idea to
trial that you've got the pattern right (especially if you are more used
to expressing file patterns in shell globs or regexes), so there was
value in Dan providing that too.



--
👱🏻	Jonathan Dowland
✎	    jon@dow.land
🔗	https://jmtd.net


Reply to: