<div dir="auto"><div dir="auto">Xubuntu user. Live in UK Lincs.</div><div dir="auto"><br></div>I would be grateful if someone could advise where one enters the new config. I'm not sure if it's a text file or graphical. I not so up on technicalities these days as i don't work in IT but continue to use xubuntu for home use.<div dir="auto"><br></div><div dir="auto">I have had the same broadband for over 12 years and as rates have changed decided on a change.</div><div dir="auto"><br></div><div dir="auto">Thx</div><div dir="auto">james</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 9 May 2022, 09:05 Mark Rogers, <<a href="mailto:mark@more-solutions.co.uk">mark@more-solutions.co.uk</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Apologies for the slow reply, I've been mostly reading emails on my<br>
mobile and it can't do a plain-text reply.<br>
<br>
On Thu, 5 May 2022 at 19:34, <<a href="mailto:steve-ALUG@hst.me.uk" target="_blank" rel="noreferrer">steve-ALUG@hst.me.uk</a>> wrote:<br>
> but you also say there are 200k emails. I'm guessing that there are<br>
> 200k emails in total, but way less than that in a directory.<br>
<br>
Correct<br>
<br>
> [NB, I occasionally use fslint to de-dup]<br>
<br>
Ditto, both to fslint and "occasionally" - ie there are probably loads<br>
of things it does I don't know about!<br>
<br>
> Write a program:<br>
<br>
That's where I thought I might end up!<br>
<br>
> so you say that you have different directories, one email per file.<br>
<br>
Yes<br>
<br>
> I'm presuming that file Account1/2022/5/1/aaaa.eml could be the same<br>
> email as Account2/2022/5/1/bbbb.eml but with a different name.<br>
<br>
Yes.<br>
<br>
In theory contents and file size will match, although I have found<br>
that there are some discrepancies due to things like line endings -<br>
I'm guessing the restore has fixed some poor formatting issues in the<br>
backups.<br>
<br>
> What information can you extract about the email? Is the 2022/5/1<br>
> the date of the email, or the date of the backup?<br>
<br>
Date of the email. That and file size are all I have directly but I<br>
can obviously grep the files for anything else I might want (subject,<br>
sender, etc).<br>
<br>
<<Big snip>><br>
<br>
Where I ended up was to use:<br>
find dir1/ dir2/ -type f -name '*.eml' -printf '%h %s %f\n'<br>
.. which gives me all the files with file sizes, formatted as:<br>
dir1/2019/3/30 112874 169d0343152c5ad6.eml<br>
<br>
I then wrote a hacky PHP script to sort and filter this output<br>
removing any pairs of files with the same filesize from any date-named<br>
directory. It then listed the remaining files along with the Subject<br>
of the emails grep'd from the file, for manual processing.<br>
<br>
Incidentally I can recommend GYB[1] for archiving GMail mailboxes, and<br>
for restoring said backups later. It's a bit fiddly and often<br>
inflexible but it's done what I need to migrate emails from legacy<br>
free workspace accounts to free ones.<br>
<br>
> Hope that helps.<br>
<br>
It did, thank you.<br>
<br>
[1] <a href="https://github.com/GAM-team/got-your-back" rel="noreferrer noreferrer" target="_blank">https://github.com/GAM-team/got-your-back</a><br>
-- <br>
Mark Rogers // More Solutions Ltd (Peterborough Office) // 0344 251 1450<br>
Registered in England (0456 0902) 21 Drakes Mews, Milton Keynes, MK8 0ER<br>
_______________________________________________<br>
To unsubscribe send an email to <a href="mailto:main-leave@lists.alug.org.uk" target="_blank" rel="noreferrer">main-leave@lists.alug.org.uk</a><br>
<a href="http://www.alug.org.uk/" rel="noreferrer noreferrer" target="_blank">http://www.alug.org.uk/</a><br>
Unsubscribe? See message headers or the web site above!<br>
</blockquote></div>