为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

How can I copy selected emails to a given directory in the file system

  • 3 个回答
  • 1 人有此问题
  • 1 次查看
  • 最后回复者为 Stans

more options

I am using TB 78.14.0 (64-Bit) on Xubuntu 20.04 64-Bit. I have configured TB such that it uses maildir rather than mbox.

I want to copy a selected set of emails found after using TB's search function. I want to remain TB's internal structure unchanged. I just want to copy them to some folder, say ~/TopicFolder.

I'll have to search for other keywords and in other email accounts within TB for other emails dealing with my given topic.

Finally I want to have all files which I have identified as related to the given topic and merge it to a folder of other files dealing with that specific topic.

How can I achieve this goal?

Where is the folder in the file system which holds all the *.eml files?

I would be very happy if the file names would start with the date, preferably in ISO8601 format (yyyy-mm-dd), because almost all my files are named like this. I would even be more happy if the file name format would be

yyyy-mm-dd_FROM <email address>_SUBJECT <subject>.eml

or

yyyy-mm-dd_TO <email address>__SUBJECT <subject>.eml

where the parts in <...> are taken from the associated fields (possibly shortening <subject> to some given limit of characters).

I am using TB 78.14.0 (64-Bit) on Xubuntu 20.04 64-Bit. I have configured TB such that it uses maildir rather than mbox. I want to copy a selected set of emails found after using TB's search function. I want to remain TB's internal structure unchanged. I just want to copy them to some folder, say ~/TopicFolder. I'll have to search for other keywords and in other email accounts within TB for other emails dealing with my given topic. Finally I want to have all files which I have identified as related to the given topic and merge it to a folder of other files dealing with that specific topic. How can I achieve this goal? Where is the folder in the file system which holds all the *.eml files? I would be very happy if the file names would start with the date, preferably in ISO8601 format (yyyy-mm-dd), because almost all my files are named like this. I would even be more happy if the file name format would be yyyy-mm-dd_FROM <email address>_SUBJECT <subject>.eml or yyyy-mm-dd_TO <email address>__SUBJECT <subject>.eml where the parts in <...> are taken from the associated fields (possibly shortening <subject> to some given limit of characters).

被采纳的解决方案

Thank you for the hint to Use ImportExportTools NG. There is a version 11 out which is claimed to work with TB Verision 68-78, however I could not install it into my TB 78. I finally got Version 10.0.2 using a normal TB Addon search and this one also works.

First you have to select the messages you want to store as files in TB's message overview. Second you have to right click on the selected ones in the subject part of the display of them. Then you select Save selected Messages > EML format.

Unfortunately, the date at the beginning of each file name is formatted in the somewhat cluttered format yyyymmdd, where I can't tell the date components apart very well. I am now writing myself a script to convert "^(\d{4})(\d{2})(\d{2}) " to "$1-$2-$3_". After its application the filenames become yyyy-mm-dd_ and then comes the rest. But most of the time you have to shorten the file names by hand anyway.

定位到答案原位置 👍 0

所有回复 (3)

more options
more options

选择的解决方案

Thank you for the hint to Use ImportExportTools NG. There is a version 11 out which is claimed to work with TB Verision 68-78, however I could not install it into my TB 78. I finally got Version 10.0.2 using a normal TB Addon search and this one also works.

First you have to select the messages you want to store as files in TB's message overview. Second you have to right click on the selected ones in the subject part of the display of them. Then you select Save selected Messages > EML format.

Unfortunately, the date at the beginning of each file name is formatted in the somewhat cluttered format yyyymmdd, where I can't tell the date components apart very well. I am now writing myself a script to convert "^(\d{4})(\d{2})(\d{2}) " to "$1-$2-$3_". After its application the filenames become yyyy-mm-dd_ and then comes the rest. But most of the time you have to shorten the file names by hand anyway.

more options

You can change the date format via the add-on's options. No scripting is required.