Skip to content

Interesting prop search recursion#571

Merged
stephenegriffin merged 6 commits intomainfrom
u/sgriffin/reminder
Mar 29, 2023
Merged

Interesting prop search recursion#571
stephenegriffin merged 6 commits intomainfrom
u/sgriffin/reminder

Conversation

@stephenegriffin
Copy link
Copy Markdown
Member

Added a new -recurse switch to allow an interesting prop search to recurse folders and search down the tree.

For example, this command:
mrmapi -Contents -Folder "@" -recurse -findn PidLidReminderPlaySound PidLidReminderFileParameter
Starts at the root of the message store ("@") and searches every folder underneath it.

Note - many of the folders in a message store are search folders, like the Reminders folder, which don't technically contain any messages but rather contain search results for messages. We don't make any effort to distinguish between the types of folders when doing this recursion, so a message which is in the scope of a search folder may be "found" multiple times. It will appear to live in the folder it actually lives in, as well as any search folder for which it is in scope and matches the criteria.

@stephenegriffin stephenegriffin merged commit 798be9f into main Mar 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant