Update find.md
This commit is contained in:
@@ -6,6 +6,10 @@
|
||||
|
||||
`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 {{root_path}} -name {{'*.py'}} -mtime {{-1d}}`
|
||||
|
Reference in New Issue
Block a user