Message Boards Message Boards

1
|
4187 Views
|
3 Replies
|
2 Total Likes
View groups...
Share
Share this post:

Keyword search on library of notebooks?

Posted 3 years ago

Over the years, I have created a large library of .nb files and would like to be able to recover old work by performing a keyword search over that library. For example, I recall using a term like "magnetohydrodynamics" or "MHD" and want to identify the .nb files in which one of those terms appears. I'm sure many readers of this forum have encountered a similar need. How have you approached this problem? Thanks much.

POSTED BY: Tom Gladd
3 Replies

I think you can use the functions Map , NotebookFind

to map the list of notebooks names to the function NotebookFind. Don't forget to use something like

SetDirectory[NotebookDirectory[]]

if you are going to evaluate your program in the same folder with the other notebooks. Also you will need to import list of names (or directories) of the notebooks first for this method to work.

POSTED BY: Ahmed Elbanna

Hi Tom

I think the answers here may be helpful for you
https://mathematica.stackexchange.com/questions/115337/searching-a-phrase-in-all-nb-files

Did you use the search here in Wolfram community? you may find here more recent approaches

POSTED BY: Ahmed Elbanna
Posted 3 years ago

Thank you for the pointer

POSTED BY: Tom Gladd
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract