Skip to content
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

File Search: Advanced syntax #48

Open
10 tasks
SpraxDev opened this issue Jul 2, 2022 · 0 comments
Open
10 tasks

File Search: Advanced syntax #48

SpraxDev opened this issue Jul 2, 2022 · 0 comments

Comments

@SpraxDev
Copy link
Member

SpraxDev commented Jul 2, 2022

  • "Hello World" String within parentheses is treated as one
  • + and - can be used to include/exclude the following word/sentence
  • filter:value supplies a value to a given filter (e.g. type:image or type:directory)
    • filetype / type filters for file type (e.g. file, directory, image, video)
    • sort:something / order:something allows the search results to be sorted by something
      • Combining with - allows the sorting order to be inverted (+ is default)
    • sha256:, md5:, etc. for searching for files with a given hash
  • a or b / a | b can be used to search for one of them (or both) instead of the default and behavior
  • a and b can be used to explicitly match both at once (default behavior)
  • * can be used as wildcard (e.g. invoice*.pdf would match invoice_2022.pdf)
  • ( ... ) allows for grouping (e.g. (a or b) or (c and d))

All of these can be combined and used at once: *.pdf or type:directory -content:"Invoice 2022"

This was referenced Jul 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

No branches or pull requests

1 participant