特定の拡張子"以外"のファイルの一覧

find 使うしかない。 例えば、.gzじゃないファイルをgzip圧縮する場合は以下の通り。

find . -type f ! -name "*.gz" | xargs gzip