Migrating to a new Mac: where is the 'Currently Open Documents' list stored?

326 views
Skip to first unread message

acmeindu...@gmail.com

unread,
Mar 28, 2015, 12:49:05 PM3/28/15
to textwr...@googlegroups.com
hi all,

I'm in the process of moving my data to a new Mac (10.6.8 to 10.10). I've transferred my data including TextWrangler's preferences. Things like custom grep searches are visible on the new Mac, so that's good. The one thing I'm missing is the list of documents that were open on the old machine.
I had Textwrangler set to 'reopen all documents that were open at last quit'. I had about 40 documents open. This list hasn't been transferred with the rest of the preferences. Where is it kept and can I transfer it at all?

Harro de Jong

Steve

unread,
Mar 28, 2015, 5:28:23 PM3/28/15
to textwr...@googlegroups.com
See whether both of these files copied to your new computer correctly:
    ~/Library/Preferences/com.barebones.textwrangler.LSSharedFileList.plist
    ~/Library/Preferences/com.barebones.textwrangler.plist

Mine include paths of files recently opened on my computer.

-Steve

acmeindu...@gmail.com

unread,
Mar 30, 2015, 3:50:51 PM3/30/15
to textwr...@googlegroups.com


On Saturday, March 28, 2015 at 10:28:23 PM UTC+1, Steve wrote:
See whether both of these files copied to your new computer correctly:
    ~/Library/Preferences/com.barebones.textwrangler.LSSharedFileList.plist
    ~/Library/Preferences/com.barebones.textwrangler.plist

Mine include paths of files recently opened on my computer.


I copied 3 files: the 2 you mention and the folder
~/Library/Preferences/com.barebones.textwrangler.PreferenceData

Despite that, the 'recently open files' list only contains files I've opened on the new machine.

Harro

acmeindu...@gmail.com

unread,
May 5, 2015, 4:10:30 PM5/5/15
to textwr...@googlegroups.com


On Monday, March 30, 2015 at 9:50:51 PM UTC+2, acmeindu...@gmail.com wrote:


On Saturday, March 28, 2015 at 10:28:23 PM UTC+1, Steve wrote:
See whether both of these files copied to your new computer correctly:
    ~/Library/Preferences/com.barebones.textwrangler.LSSharedFileList.plist
    ~/Library/Preferences/com.barebones.textwrangler.plist

Mine include paths of files recently opened on my computer.


I copied 3 files: the 2 you mention and the folder
~/Library/Preferences/com.barebones.textwrangler.PreferenceData


I've done some more digging: the above folder contains a file with the extension ".appstate".
This is sort-of readable in a text editor, and I can see it contains a list of all open documents from my old computer. I've copied this to my new system, but it doesn't seem to get used (despite the file paths still being valid).
TextWrangler will reopen all documents from my previous session, but not the documents that were open on my old computer. Perhaps the .appstate file isn't used any more now that Yosemite supports a system-wide restore of open documents?

Harro

Dave

unread,
Jul 22, 2017, 6:51:37 PM7/22/17
to TextWrangler Talk
I was able to restore my previously open files by opening Text Wrangler on the new computer, then quitting.
There was a file with a time stamp from before the migration (but now on the new computer) called: Sleep State-B19E6018-850B-520D-9E0A-602846B3758D.appstate 
Text Wrangler generated a new sleep state file, which I dragged to the desktop.
I renamed the pre-migration sleep state file to the same name as the new sleep state file that was generated after closing Text Wrangler.
Then, I reopened Text Wrangler, and all of the files from the old computer opened.
Reply all
Reply to author
Forward
0 new messages