<div dir="ltr"><div><div><div><div><div><div><div><div><div>One thing I thought about, is some parsing script that will check the date of <br></div>the message :<br><br></div><div>ls xargs ... <br></div>grep '^Date: '<br><br></div>Then extract the month and year, parse it if necessary, and move the message <br>to a folder named: mail/gmail/yyyy/mm/<br></div><br></div>This should be straightforward, and would get over the large number of files <br></div>in a single directory issue. Using mutt against the directory tree should also<br></div><div>be possible, now that directories are smaller.<br></div><div><br></div><div>The state of last message downloaded and such are all kept in ~/.getmail, <br>so it is safe to mess around with the cur directory, I think ... <br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, May 8, 2018 at 9:35 AM, Jeff Smith <span dir="ltr"><<a href="mailto:crankyoldbugger@gmail.com" target="_blank">crankyoldbugger@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<p>That was a good meeting last night. Some good speakers and some
swag to boot... Also nice to see so many new faces last night.<br>
</p>
<p>This is a good script, Khalid. I've been doing this process more
or less manually, and at random times, by going into Thunderbird,
downloading any over-large folders to the local client, then
zipping up the resulting .eml files and storing them on my own
backups server. While it's considerably more work than your
script, it does allow me some leeway in what folders I clean up
(i.e. do I want to keep this year's stuff online, can I break
larger folders down by years, etc.)</p>
<p>Maybe once I get my manual process to the point where your script
can take over, I can give the impression of being much more
organized...</p></div></blockquote></div><br></div></div>