Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Where does Mac OS X store TextEdit's unsaved documents?

I want to programmatically:

  1. increase/decrease that size
  2. flush the cache
  3. provide configuration option to control the frequency of auto saving/caching
share|improve this question
I'm pretty sure you won't be able to do #1: the mechanisms available for OS X and TextEdit to keep the unsaved documents don't depend on a static size; the storage space will grow or shrink as needed. – CajunLuke Apr 18 '12 at 6:07
what do you mean by static size ? i am keenly interested to locate the place where OSX keeps these unsaved files from the TextEdit. – Jay D Apr 18 '12 at 6:12
"Static" as in "unchanging". There's nothing saying "this file will be X megabytes" anywhere: it's allowed to float to be as big as it needs to be. – CajunLuke Apr 18 '12 at 14:09

For Lion: It is in ~/Library/Containers/\ Information/, e.g. Unsaved TextEdit Document.rtf.

Note that ~/Library is not visible by default in Finder in Lion, but you can access it by pasting the path in Finder (without the backslash in "Autosave Information"; the formatting above is for cd-ing in, or there is an option to enable the visibility (chflags nohidden ~/Library)

For Snow Leopard (credit goes to @binarybob, his comment is below) it is in ~/Library/Autosave Information also named Unsaved TextEdit Document.rtf

share|improve this answer
Thanks for the response . I do'nt have a containers folder ? where else can i look ? – Jay D Apr 18 '12 at 6:50
Which OS X version are you using? Are you sure that you are looking in ~/Library and not /Library? Finally, try to create unsaved document in Text Edit, and see if the directory appears; it may not be there by default. – lupincho Apr 18 '12 at 6:54
@JayD On Lion, its in the path as @lupincho states. On Snow Leopard, it appears in ~/Library/Autosave Information also named Unsaved TextEdit Document.rtf – binarybob Apr 18 '12 at 8:08
@JayD Thanks, but the existing answer already provided correct information, all I did was augment it :) If lupincho wants to add my comment to the actual answer, I'm more than happy for that to happen. – binarybob Apr 19 '12 at 7:49
@binarybob: I added your comment to the answer. – lupincho Apr 19 '12 at 10:18

Your Answer


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.