eg1$ gzip -9v
`find / -name .log`
Unfortunately, some systems have limits on the size of a command line. (Does linux?) xargs assembles and executes command lines from arguments provided on stdin. For instance:
eg2$ find / -name \*.log | xargs gzip -9v