💾 Archived View for freeshell.de › tldr › find.gmi captured on 2023-03-20 at 19:42:36. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2022-04-28)

-=-=-=-=-=-=-

find

Find files or directories under the given directory tree, recursively.

More information.

find {root_path} -name '{*.ext}'
find {root_path} -path '{**/path/**/*.ext}' -or -name '{*pattern*}'
find {root_path} -type d -iname '{*lib*}'
find {root_path} -name '{*.py}' -not -path '{*/site-packages/*}'
find {root_path} -size {+500k} -size {-10M}
find {root_path} -name '{*.ext}' -exec {wc -l {} }\;
find {root_path} -daystart -mtime -{7} -delete
find {root_path} -type {f} -empty -delete
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).

CC-BY