mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-09-10 11:13:46 +02:00
find: ignore given directory (#1289)
* find path while excluding certain directory * delete the `find {{root_path}} -empty` command to meet the demand of 8 commands at most * tokenize the demo parameter
This commit is contained in:
parent
7ced4bbeeb
commit
4626735021
1 changed files with 4 additions and 4 deletions
|
@ -26,10 +26,10 @@
|
|||
|
||||
`find {{root_path}} -name '{{*.ext}}' -mtime {{-180}} -delete`
|
||||
|
||||
- Find empty files or directories:
|
||||
|
||||
`find {{root_path}} -empty`
|
||||
|
||||
- Find files matching more than one search criteria:
|
||||
|
||||
`find {{root_path}} -name '{{*.py}}' -or -name '{{*.r}}'`
|
||||
|
||||
- Find files matching path pattern while excluding some certain path:
|
||||
|
||||
`find {{root_path}} -name '{{*.py}}' -not -path '{{*/site-packages/*}}'`
|
||||
|
|
Loading…
Add table
Reference in a new issue