ISSUE : “argument list too long” on any commands that have a long output…
WHEN I DO : getconf ARG_MAX I get a value like 2097152
QUESTION : Is there a way to increase that value ?
IF NOT : is there a way to do a split/chunk to a file instead or a large value returned ?
example a directery with millions of files… ls is sometimes reaching the ARG_MAX limit… how can I get a listing of a hughe directory in an array and loop scripts and conditions…