Clear Recent Folder List

User Help for Mozilla Thunderbird
Post Reply
tonydi
Posts: 16
Joined: May 1st, 2014, 5:52 pm

Clear Recent Folder List

Post by tonydi »

It used to be when I wanted to tidy up the Recent Folder list I would just delete panacea.dat.

Looks like that file has been replaced by folderCache.json. Is the process still the same, close TB, delete the file and then start up again and let it build a new file? Or does that file affect other folder things where I might not want anything changed?
User avatar
tanstaafl
Moderator
Posts: 49647
Joined: July 30th, 2003, 5:06 pm

Re: Clear Recent Folder List

Post by tanstaafl »

https://bugzilla.mozilla.org/show_bug.cgi?id=418551 confirms panacea.dat has been replaced with foldercache.json, and that if its deleted it will be re-created on restart. I don't see anything that implies they did anything more than switch from mork to json. Every case I know of where a mork file was replaced with a json file it was a straightforward replacement.
morat
Posts: 6421
Joined: February 3rd, 2009, 6:29 pm

Re: Clear Recent Folder List

Post by morat »

MRMTime stands for most recently modified time.
aceman wrote:MRMTime is only changed when a message is copied or moved to a folder.
Bug 1367034 Command 15
http://bugzilla.mozilla.org/show_bug.cgi?id=1367034#c15

I tried the following procedure.

* exit app
* open folderCache.json file
* delete lines with MRMTime entry
* save and close folderCache.json file
* start app

That procedure clears the recent folder list for me.

Reference
http://searchfox.org/comm-esr102/search?q=MRMTime
tonydi
Posts: 16
Joined: May 1st, 2014, 5:52 pm

Re: Clear Recent Folder List

Post by tonydi »

tanstaafl wrote:https://bugzilla.mozilla.org/show_bug.cgi?id=418551 confirms panacea.dat has been replaced with foldercache.json, and that if its deleted it will be re-created on restart. I don't see anything that implies they did anything more than switch from mork to json. Every case I know of where a mork file was replaced with a json file it was a straightforward replacement.
Wow, interesting to see that they wanted to make this file change 15 yrs ago.
morat wrote:MRMTime stands for most recently modified time.

I tried the following procedure.
* exit app
* open folderCache.json file
* delete lines with MRMTime entry
* save and close folderCache.json file
* start app

That procedure clears the recent folder list for me.
Seems like a lot of work if deleting the file and letting it get recreated seems to do the same thing, no?

Thanks to both of you for your input, much appreciated!
morat
Posts: 6421
Joined: February 3rd, 2009, 6:29 pm

Re: Clear Recent Folder List

Post by morat »

I just typed :g/MRMTime/d in the Vim text editor, but it's still easier to delete the file.

Delete all lines containing a pattern
http://vim.fandom.com/wiki/Delete_all_l ... _a_pattern
Post Reply