I worked on a notebook a few weeks ago and now I can't find after looking through the most likely directories. The recent list only has 6 items in it, none of them the notebook in question. Is there a way to find ALL notebooks I have created or opened?
Asked
Active
Viewed 677 times
5
2 Answers
8
The following function finds a notebook (a .nb file) with a given maximum age (in days) in a given directory or its subdirectories:
notebookSearch[dir_String, age_?NumericQ] :=
Select[
FileNames["*.nb", {dir}, Infinity],
First[DateDifference[FileDate[#], DateList[], "Day"]] <= age &
]
Sjoerd C. de Vries
- 65,815
- 14
- 188
- 323
6
There is a way to tell Mathematica to remember, in its File->Open list, long list of files you have opened and not the default of 8.

The above is from options. Simply change the value from 8 to say 100, and now you will have all those files remembered. I used to have the same problem as you until I found this option.
Nasser
- 143,286
- 11
- 154
- 359
-
Can you force this history display to include the parent folder and not just the filename? – Alan Dec 13 '23 at 19:39
-
1@Alan good question that I also wanted. No, I am afraid I do not know how. You can ask separate question on this and see if someone have any ideas. – Nasser Dec 14 '23 at 15:29
ext:.nb date:>25/10/2013to instantly find all notebooks modified after 25th October. – Simon Woods Nov 11 '13 at 19:55