# Find a notebook I had open recently

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?

-
You may use your OS commands ... find, search, whatever –  belisarius Nov 11 '13 at 19:28
Yes, but then the wolfram Force would not be with me. –  Tyler Durden Nov 11 '13 at 19:39
@Tyler Durden: Are you sure Edward Norton's character didn't put it somewhere else? –  Rahul Nov 11 '13 at 19:40
Sometimes I wake up and things are missing. –  Tyler Durden Nov 11 '13 at 19:41
I have to agree with belisarius and Sjoerd, use the OS search facility. E.g. on Windows 7 you just hit the windows button and type ext:.nb date:>25/10/2013 to instantly find all notebooks modified after 25th October. –  Simon Woods Nov 11 '13 at 19:55

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.

-

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 &
]

-