-
-
Notifications
You must be signed in to change notification settings - Fork 814
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
Is there a thing like --and
, --or
or --not
?
#714
Comments
--and
or --or
?--and
, --or
or --not
?
Ok, I just found So I found some things that work but they are not as consistent as I would wish: It seems like For example
is treated like an
is treated like an
is treated like I also found that searching files that are not owned by a specific user is possible using
(or with quotes This is nice, however, there seems to be no
gave an error:
(it should however be possible to use So the question remains:Is there a way to explicitly combine options with |
You can do this by running
Different filters (type/owner/size/…) are combined using AND.
You can do this by running
Multiple filters of the same kind are combined using OR.
There is a note at the end of the short
Yes.
You are right. If you think that the behavior is confusing, please let us know! If you think it could be better documented (it certainly can be), please let us know was well (see also: #695).
Right. Maybe we should add that for consistency. It would be great if you could open a separate feature request ticket for that.
Yeah, that's not ideal
There is no way to do this, and probably never will be. See discussion here: #560 (comment). What are some actual (real world) use cases that are not supported right now? Concerning |
Thank you for your answers 🙂
I think it might help if in addition to the "Note", the
Maybe it would be more obvious while scanning the help text if it was at the beginning of the
It might also help to start the note with "Use" or "You can" to indicate with the first word(s), that the user can do something here:
Maybe also colorize "Note" and " I've tried splitting |
So, if I want to find files with "foo" OR "bar": fd "foo|bar" How can I find files with "foo" AND "bar"? |
Technically possible with: |
So.. if we speaking practically it's not possible for now? |
Closing this in favor of #315 |
I would like to combine queries like so:
or
Is this somehow possible with
fd
?The text was updated successfully, but these errors were encountered: