Hello, On Sat, 07 Dec 2019, Carlos E. R. wrote:
On 07/12/2019 21.19, David Haller wrote:
On Sat, 07 Dec 2019, Carlos E.R. wrote:
On 07/12/2019 17.51, David Haller wrote:
On Sat, 07 Dec 2019, Carlos E. R. wrote:
On 07/12/2019 01.42, David T-G wrote: [..] No, but the question now is using xargs instead.
You propose interesting alternatives, but I don't see the advantage :-? [..] The advantage with xargs is, I assume, that it does
ghgrp args----verylonglinewithathousandfilesatonce
'xargs whatever' fills the commandline to about $(getconf ARG_MAX) i.e. calls 'whatever' with about the max possible argument length.
'find .. -exec whatever .. {} +' does the same, i.e. calls 'whatever' with about the max possible argument length.
It did not, when whatever was
sudo chgrp...
it did a sudo at a time. I have thousands of such lines in the log till I aborted.
You were using 'find .. -exec whatever .. {} \;' then! ';' != '+'! HTH, -dnh -- There are some people who clearly shouldn't be put in charge of any office-equipment more technical than a blunt finger dipped in water-soluble ink. -- Tanuki -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org