Comment 36 for bug 485224

Revision history for this message
Don Cristóbal (doncristobal) wrote :

Binary package hint: thunderbird

When saving attachments to a FAT32 or an NTFS partition, Thunderbird duplicates file name endings. E.g. it saves "draft.doc" as "draft.doc" on EXT3/EXT4, but as "draft.doc.doc" on FAT32/NTFS.
I have my Thunderbird profile on a Linux/Windows shared FAT32 partition, but I also checked it with a temporary profile on the main EXT4 partition. So the bug really seems to be in the portion of the software that saves attachments to disk.

Kind of a workaround:
If anyone needs a workaround for large numbers of attachments, here's a very primitive one:
* go to the folder where the double named attachments are
* $ rename -v 's/(\.\w{3}\w?){2}$/$1/' *
This looks for 3 or 4 character long file name endings that are duplicated and removes one copy.

I saved this single line 'script' in a file and installed it to /usr/local/bin as an executable ($ sudo install yourfilename /usr/local/bin). Now I can just cd to the concerned folder and say my magic word (the name of the script), voilà.

ProblemType: Bug
Architecture: i386
Date: Thu Nov 19 09:40:58 2009
DistroRelease: Ubuntu 9.10
InstallationMedia: Xubuntu 9.10 "Karmic Koala" - Release i386 (20091028.3)
Package: mozilla-thunderbird (not installed)
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-14.48-generic
SourcePackage: thunderbird
Uname: Linux 2.6.31-14-generic i686