Trang web này sẽ có chức năng hạn chế trong khi chúng tôi trải qua bảo trì để cải thiện trải nghiệm của bạn. Nếu một bài viết không giải quyết được vấn đề của bạn và bạn muốn đặt câu hỏi, chúng tôi có cộng đồng hỗ trợ của chúng tôi đang chờ để giúp bạn tại @FirefoxSupport trên Twitter và /r/firefox trên Reddit.

Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Tìm hiểu thêm

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

  • 3 trả lời
  • 1 gặp vấn đề này
  • 4 lượt xem
  • Trả lời mới nhất được viết bởi 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).

Giải pháp được chọn

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.

Đọc câu trả lời này trong ngữ cảnh 👍 0

Tất cả các câu trả lời (3)

more options
more options

Giải pháp được chọn

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.