Mozilla サポートの検索

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

詳しく学ぶ

このスレッドはアーカイブに保管されました。 必要であれば新たに質問してください。

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.