xargs and max chars
Anybody got a quick solution to how to use xargs in corp with, say, find
and ls when there's more chars than xarg (see -s) likes for a single
run?
eg if I run
find . -name 'me*' -print | xargs ls -altd
and find gives more than circa 20k chars then it appears that ls is run
multiple times with the output concat-ed ie you get groups of date
sorted files rather than a single list of date sorted files... (giving
xargs the '-x' aborts the above cmd indicating find returns more chars
than xargs can handle on a single run)...
ta, michael
Reply to: