/ linux

Argument list too long

Several linux command may quit with the error message "Argument list too long" when there are too many files which should be processed.
This might happen when deleting files using a wildcard:
rm -f *.jpg

In this case this can be solved using a command chain like:

$ find . -name "*.jpg" -print0 | xargs -0 rm