Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

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?

share|improve this question
3  
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
1  
@Tyler Durden: Are you sure Edward Norton's character didn't put it somewhere else? –  Rahul Nov 11 '13 at 19:40
2  
Sometimes I wake up and things are missing. –  Tyler Durden Nov 11 '13 at 19:41
1  
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

2 Answers 2

up vote 6 down vote accepted

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.

Mathematica graphics

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.

share|improve this answer

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 &
   ]
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.