Thunderbird already has a feature to rebuild all msf files
-
- Posts: 1
- Joined: August 3rd, 2019, 11:23 am
Thunderbird already has a feature to rebuild all msf files
Hi,
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.
Thanks.
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.
Thanks.
Last edited by 6MaxPayne on August 4th, 2019, 12:50 pm, edited 1 time in total.
-
- Posts: 305
- Joined: July 18th, 2019, 9:59 am
Re: Thunderbird already has a feature to rebuild all msf fil
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.
- makaiguy
- Posts: 16878
- Joined: November 18th, 2002, 6:44 pm
- Location: Somewhere in SE USA
- Contact:
Re: Thunderbird already has a feature to rebuild all msf fil
Don't know if I'd have thought of this out-of-box solution. Nice.JYLD wrote: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.
Doug Wilson
Win10 64bit: FF 124.0.2 64bit, TB 102.12.0 32-bit ║ Android 13/10: FF 124.2.0/115.9.0 ║ No TB for Android available, dammit!
What a fool believes he sees, no wise man has the power to reason away - Doobie Brothers
Win10 64bit: FF 124.0.2 64bit, TB 102.12.0 32-bit ║ Android 13/10: FF 124.2.0/115.9.0 ║ No TB for Android available, dammit!
What a fool believes he sees, no wise man has the power to reason away - Doobie Brothers
- DanRaisch
- Moderator
- Posts: 127231
- Joined: September 23rd, 2004, 8:57 pm
- Location: Somewhere on the right coast
Re: Thunderbird already has a feature to rebuild all msf fil
Note that doing so will also remove all customization of the folders in terms of sort order and any modification of column order/display.gather all .msf files and delete them. Then TB will rebuild them the next time you start up TB.
-
- Posts: 305
- Joined: July 18th, 2019, 9:59 am
Re: Thunderbird already has a feature to rebuild all msf fil
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
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
- DanRaisch
- Moderator
- Posts: 127231
- Joined: September 23rd, 2004, 8:57 pm
- Location: Somewhere on the right coast
Re: Thunderbird already has a feature to rebuild all msf fil
How would all of this extra effort be better than compacting? Menu path File->Compact Folders?
-
- Posts: 305
- Joined: July 18th, 2019, 9:59 am
Re: Thunderbird already has a feature to rebuild all msf fil
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.
- DanRaisch
- Moderator
- Posts: 127231
- Joined: September 23rd, 2004, 8:57 pm
- Location: Somewhere on the right coast
Re: Thunderbird already has a feature to rebuild all msf fil
Compacting through that menu path is, at a minimum, by account, not by folder.
-
- Posts: 305
- Joined: July 18th, 2019, 9:59 am
Re: Thunderbird already has a feature to rebuild all msf fil
Certainly, but compacting doesn't rebuild the .msf files like repair does. Or does it?
- DanRaisch
- Moderator
- Posts: 127231
- Joined: September 23rd, 2004, 8:57 pm
- Location: Somewhere on the right coast
Re: Thunderbird already has a feature to rebuild all msf fil
Yes, it does. It removes messages marked for deletion from each folder and then regenerates the .msf files.
- tanstaafl
- Moderator
- Posts: 49647
- Joined: July 30th, 2003, 5:06 pm
Re: Thunderbird already has a feature to rebuild all msf fil
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.
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.
-
- Posts: 1410
- Joined: October 14th, 2003, 7:53 am
Re: Thunderbird already has a feature to rebuild all msf fil
I wasn't aware of this. Thanks for posting this info!DanRaisch wrote:Yes, it does. It removes messages marked for deletion from each folder and then regenerates the .msf files.
Peace...
- DanRaisch
- Moderator
- Posts: 127231
- Joined: September 23rd, 2004, 8:57 pm
- Location: Somewhere on the right coast
Re: Thunderbird already has a feature to rebuild all msf fil
You're welcome.
-
- Posts: 6
- Joined: April 16th, 2010, 1:57 am
Re: Thunderbird already has a feature to rebuild all msf fil
Not really.DanRaisch wrote:Yes, it does. It removes messages marked for deletion from each folder and then regenerates the .msf files.
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.