1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-25 01:35:42 +02:00

find -path option

This commit is contained in:
Eliot Sykes 2015-12-28 18:06:08 +00:00
parent 4d336f17b8
commit 2038fc0f13

View file

@ -6,6 +6,10 @@
`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
`find {{root_path}} -name {{'*.py'}} -exec {{wc -l {} }}\;`