mirror of https://github.com/CrimsonTome/tldr.git
commit
c184f19b5b
|
@ -6,6 +6,10 @@
|
||||||
|
|
||||||
`find {{root_path}} -name {{'*.py'}}`
|
`find {{root_path}} -name {{'*.py'}}`
|
||||||
|
|
||||||
|
- find files matching path pattern
|
||||||
|
|
||||||
|
`find {{root_path}} -path {{'**/lib/**/*.py'}}`
|
||||||
|
|
||||||
- run a command for each file, use {} within the command to access the filename
|
- run a command for each file, use {} within the command to access the filename
|
||||||
|
|
||||||
`find {{root_path}} -name {{'*.py'}} -exec {{wc -l {} }}\;`
|
`find {{root_path}} -name {{'*.py'}} -exec {{wc -l {} }}\;`
|
||||||
|
|
Loading…
Reference in New Issue