Discussion of general topics about Mozilla Thunderbird
14 posts • Page 1 of 1
Is it possible to request it to be looked at for a future version?
I was wondering if Thunderbird already has a feature to rebuild all msf files for folders without having to click on each folder individually, especially if (like me) you have a lot of message folders because you have OCD on filing things?
I'm running Thunderbird 60.4.0 on Windows 7 Home Premium (64-bit) with SP1.
Last edited by 6MaxPayne on August 4th, 2019, 12:50 pm, edited 1 time in total.
You could build a batch file or powershell script or something to gather all .msf files and delete them. Then TB will rebuild them the next time you start up TB.
Don't know if I'd have thought of this out-of-box solution. Nice.
Win10 (64bit): FF 105.0.2 (64bit), TB 102.3.1 (32-bit) ║ Android 10 & 12: FF Mobile 105.1.0, No TB for Android available, dammit!
What a fool believes he sees, no wise man has the power to reason away - Doobie Brothers
Note that doing so will also remove all customization of the folders in terms of sort order and any modification of column order/display.
Exit TB and then...
Run this at a command prompt to delete all .msf files in the TB profile.
For /R C:\Insert Directory Path to your TB Profile\ %G IN (*.msf) do del "%G"
Note: If you put this command in a batch file then %G needs to be changed to %%G. And the do statement would likely need to change to " do echo del "%%G" "
For more info see https://ss64.com/nt/for_r.html
How would all of this extra effort be better than compacting? Menu path File->Compact Folders?
It wouldn't if compact folders achieved that for which the OP is looking. I understood his question to be he wanted to execute a repair folder on all folders without having to do it manually folder by folder.
Compacting through that menu path is, at a minimum, by account, not by folder.
Certainly, but compacting doesn't rebuild the .msf files like repair does. Or does it?
Yes, it does. It removes messages marked for deletion from each folder and then regenerates the .msf files.
What do you expect rebuilding *.msf files to accomplish? Are yours frequently getting corrupted? If they are I suggest you focus on why they are getting corrupted since you may have bigger problems than you realize.
The folder listing (cached in the *.msf file) gets updated when you open a remote folder (IMAP account). If you have a IMAP account you can also configure the folder properties to automatically check for new mail in that folder too. That effectively opens the folder and updates the listing without you having to click on anything.
I wasn't aware of this. Thanks for posting this info!
If an .msf file is missing, or it is corrupt, or it is present, but Thunderbird cannot open it, then compacting all folders does not compact the folder(s) with unreadable .msf(s), hence no new .msf is generated by compact and the folder has to be opened manually in order to rebuild the .msf.
I have 750 folders, which I access from 2 Thunderbird installations on 2 different PCs. Quite often all .msf files become unreadable to one or both Thunderbird installations and there is no way to rebuild all .msf files, except opening one by one all 750 folders. It is a PA…
I hope some happy day the .msf concept will be dropped.
14 posts • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 2 guests