mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-04 16:55:34 +02:00
Update find.md
This commit is contained in:
parent
c97b729924
commit
ed380d1a67
1 changed files with 4 additions and 0 deletions
|
@ -6,6 +6,10 @@
|
||||||
|
|
||||||
`find {{root_path}} -name {{'*.py'}}`
|
`find {{root_path}} -name {{'*.py'}}`
|
||||||
|
|
||||||
|
- run a command for each file, use {} within the command to access the filename
|
||||||
|
|
||||||
|
`find {{root_path}} -name {{'*.py'}} -exec {{wc -l {} }}\;`
|
||||||
|
|
||||||
- find files modified since a certain time
|
- find files modified since a certain time
|
||||||
|
|
||||||
`find {{root_path}} -name {{'*.py'}} -mtime {{-1d}}`
|
`find {{root_path}} -name {{'*.py'}} -mtime {{-1d}}`
|
||||||
|
|
Loading…
Add table
Reference in a new issue