Om de ûnderfining foar jo te ferbetterjen is tydlik de funksjonaliteit dan dizze website troch ûnderhâldswurk beheind. Wannear in artikel jo probleem net oplost en jo in fraach stelle wolle, kin ús stipemienskip jo helpe yn @FirefoxSupport op Twitter en /r/firefox op Reddit.

Sykje yn Support

Mij stipescams. Wy sille jo nea freegje in telefoannûmer te beljen, der in sms nei ta te stjoeren of persoanlike gegevens te dielen. Meld fertochte aktiviteit mei de opsje ‘Misbrûk melde’.

Mear ynfo

Dizze konversaasje is argivearre. Stel in nije fraach as jo help nedich hawwe.

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

  • 3 antwurd
  • 1 hat dit probleem
  • 1 werjefte
  • Lêste antwurd fan 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).

Keazen oplossing

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.

Dit antwurd yn kontekst lêze 👍 0

Alle antwurden (3)

more options
more options

Keazen oplossing

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.