-bash: /bin/ls: Argument list too long

In bash, doing a
ls *-output.log
on directory containing 7000 files fails with the error

-bash: /bin/ls: Argument list too long

The best way to go about with this is:

find . -name '*-output.log' | xargs ls -l

No comments: