ディレクトリツリー下のファイルやディレクトリを再帰的に検索します。 もっと詳しく: https://manned.org/find。
find {{ルートパス}} -name '{{*.ext}}'
find {{ルートパス}} -path '{{*/path/*/*.ext}}' -or -name '{{*pattern*}}'
find {{ルートパス}} -type d -iname '{{*lib*}}'
find {{ルートパス}} -name '{{*.py}}' -not -path '{{*/site-packages/*}}'
find {{ルートパス}} -maxdepth 1 -size {{+500k}} -size {{-10M}}
{}
を使用):find {{ルートパス}} -name '{{*.ext}}' -exec {{wc -l}} {} \;
find {{ルートパス}} -daystart -mtime {{-1}} -exec {{tar -cvf archive.tar}} {} \+
find {{ルートパス}} -type {{f|d}} -empty -delete -print