find.py needs an option to stop descending when it matches

#79 · closed · 1 comments

View on GitHub ↗

glanois

Consider the case where you just want to find your `venv` subdirectories. ``` > python find.py . venv ``` Currently find.py will match each subdirectory of the match, and will list the paths of all subdirectories. This Issue is create an option to stop recursing into subdirectories of matches.

Comments

glanois

Fixed in https://github.com/glanois/code/commit/ab1659fa26c664bde54dde1481346b2a9e76411d It works like this: ``` > find.py -d -p . venv ```