mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-09-10 16:13:31 +02:00
find: add maxdepth in example (#8719)
This commit is contained in:
parent
67b67a1166
commit
ed29faeae9
1 changed files with 2 additions and 2 deletions
|
@ -19,9 +19,9 @@
|
|||
|
||||
`find {{root_path}} -name '{{*.py}}' -not -path '{{*/site-packages/*}}'`
|
||||
|
||||
- Find files matching a given size range:
|
||||
- Find files matching a given size range, limiting the recursive depth to "1"::
|
||||
|
||||
`find {{root_path}} -size {{+500k}} -size {{-10M}}`
|
||||
`find {{root_path}} -maxdepth 1 -size {{+500k}} -size {{-10M}}`
|
||||
|
||||
- Run a command for each file (use `{}` within the command to access the filename):
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue