mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-09-10 17:53:50 +02:00
Merge branch 'find' of git://github.com/Cvetomird91/tldr into Cvetomird91-find
This commit is contained in:
commit
38068377be
1 changed files with 8 additions and 0 deletions
|
@ -25,3 +25,11 @@
|
||||||
- Delete files by name, older than a certain number of days:
|
- Delete files by name, older than a certain number of days:
|
||||||
|
|
||||||
`find {{root_path}} -name {{'*.py'}} -mtime {{-180d}} -delete`
|
`find {{root_path}} -name {{'*.py'}} -mtime {{-180d}} -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 {{'*.rb'}}
|
||||||
|
|
Loading…
Add table
Reference in a new issue