Compare contents of two folders

User Help for Mozilla Thunderbird
Locked
js8765
Posts: 4
Joined: December 12th, 2008, 5:05 am

Compare contents of two folders

Post by js8765 »

Hi there,

I was copying roughly 5000 emails from one folder to another. For some strange reason about 50 emails did not copy and unfortunately, these mails are not clustered together.

I was wondering if there is any way to compare the contents of two folders and find which emails are missing from the smaller folder. Otherwise I suppose will just have to delete all the mails in the smaller folder and start the copy process again.

Thanks in advance for any suggestions!!
User avatar
DanRaisch
Moderator
Posts: 127231
Joined: September 23rd, 2004, 8:57 pm
Location: Somewhere on the right coast

Re: Compare contents of two folders

Post by DanRaisch »

You could dump the list of messages in each folder to a text file using this extension -- https://nic-nac-project.org/~kaosmos/mboximport-en.html
Then there are freeware file comparison utilities that would identify the differences between the two files. Just for one -
http://www.componentsoftware.com/Produc ... lights.htm
js8765
Posts: 4
Joined: December 12th, 2008, 5:05 am

Re: Compare contents of two folders

Post by js8765 »

Thanks Dan,

I was looking for something like that. Great
User avatar
Rod Whiteley
Posts: 11480
Joined: December 6th, 2004, 3:41 am
Location: UK

Re: Compare contents of two folders

Post by Rod Whiteley »

You do not need any extension. Each folder is already a text file. To find a folder file, get a context menu for the folder (for example, by right-clicking it), choose Copy Folder Location, and paste the location somewhere you can read it.
Rod
User avatar
DanRaisch
Moderator
Posts: 127231
Joined: September 23rd, 2004, 8:57 pm
Location: Somewhere on the right coast

Re: Compare contents of two folders

Post by DanRaisch »

Both solutions will work. Using the extension simply eliminates all the header data making the comparison a bit simpler.
KIA
Posts: 38
Joined: September 9th, 2008, 11:02 am

Re: Compare contents of two folders

Post by KIA »

i know it's more than a decade old post but was relevant to me in 2019

came across this post looking for a solution but posted my solution here

http://forums.mozillazine.org/viewtopic ... #p14843866 hope it helps.
User avatar
LIMPET235
Moderator
Posts: 39956
Joined: October 19th, 2007, 1:53 am
Location: The South Coast of N.S.W. Oz.

Re: Compare contents of two folders

Post by LIMPET235 »

Please don't bump these very old threads.

Locking due to old age...
[Ancient Amateur Astronomer.]
Win-10-H/64 bit/500G SSD/16 Gig Ram/450Watt PSU/350WattUPS/Firefox-115.0.2/T-bird-115.3.2./SnagIt-v10.0.1/MWP-7.12.125.

(Always choose the "Custom" Install.)
Locked