Re: kmail serious problems

Ingo Klöcker <[email protected]> Wed, 08 Feb 2023 18:50:10 +0100
Newsgroups gmane.comp.kde.devel.pim
Message-ID <5907676.lOV4Wx5bFT@daneel>
On Mittwoch, 8. Februar 2023 18:30:43 CET David Bryant wrote:
> On Tuesday, February 7, 2023 3:11:40 PM CST Alexander Neundorf wrote:
> > What about the around 100 "unreferenced external files" ?
> > Anything I could/should do about that ?
> 
> Oh, yeah. I failed to mention that those files are just garbage. You can
> remove them easily:
> 
> *~ $* find .local/share/akonadi/file_db_data/ -type f|xargs rm

This is dangerous if the filenames contain spaces (which in this case they 
don't). In any case, find has a -delete option which makes the use of xargs 
superfluous, i.e. you can simply do
```
$ find .local/share/akonadi/file_db_data/ -type f -delete
```

But really, I think that's bad advice. You shouldn't blindly dump everything 
in file_db_data. To my knowledge, those files represent larger emails that are 
not stored directly in the database. In other words, deleting everything will 
delete the locally cached copies of all larger emails. This may be harmless, 
if the emails are still stored elsewhere (e.g. the IMAP server), but, for 
obvious reason, you won't be able to read those emails when you are offline once 
you have deleted them locally.

Regards,
Ingo
signature.asc (application/pgp-signature, 228 B)
-----BEGIN PGP SIGNATURE-----

iHUEABYKAB0WIQTbjgIOMowwlCBgvyGxb1mVFkdKugUCY+Pg0gAKCRCxb1mVFkdK
urH5AP46sBJAmzNWKWEXs9NBGsXvrseFS1H1BSFJpVPeBmI5ugEAwmTKSiG+HpZ6
bKKv+2u2NSDwszM0Yr5m2nN7jD5V+Ag=
=0qHq
-----END PGP SIGNATURE-----