-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add file search to find command #630
Conversation
It should be possible to do It could also be possible to search in more than one path. |
We can now use both
And the code has been refactored to be DRY. |
Running
|
This PR implement file search in
find
and rename it--file <pattern>
instead of--name <pattern>
where<pattern>
allow globbing like the shell. In--line <pattern>
it is a standard regular expression.By default
find
will be equivalent tofind "$DIR" --file "*"
instead offind --help
.