find

Trouve récursivement des fichiers ou des dossiers dans l'arborescence spécifiée. Plus d'informations : https://manned.org/find.

find {{racine}} -name '{{*.ext}}'

find {{racine}} -path '{{**/chemin/**/*.ext}}' -or -name '{{*motif*}}'

find {{racine}} -type d -iname '{{*lib*}}'

find {{racine}} -name '{{*.py}}' -not -path '{{*/site-packages/*}}'

find {{racine}} -maxdepth 1 -size {{+500k}} -size {{-10M}}

find {{racine}} -name '{{*.ext}}' -exec {{wc -l {} }}\;

find {{racine}} -daystart -mtime -{{7}}

find {{racine}} -type {{f}} -empty -delete