Dear all,
I just got confused bei the figures I received from du -s, when I tried to find out, where the majority of my email messages is actually stored. I am using KMail in KDE 4.2.4. So I did:
Code:
# cd /home/<myuser>/.kde/share/apps# du -s -h kmail
2.1G kmail
and
Code:
# cd kmail# du -s -h *
16K autosave
4.0K autosave.index.ids
4.0K dimap
340K imap
4.0K lock
2.1G mail
4.0K search
4.0K unfiltered.1079850475
[...]
and then
Code:
# cd mail
root@orion10:/home/<myuser>/.kde/share/apps/kmail/mail# du -s -h *
16K Aktuell
16K Archiv
8.0K SP0axA2dAcU
8.0K SP0axa00429
8.0K SP0axeyQHCn
16K drafts
93M inbox
16K outbox
75M sent-mail
16K templates
36K trash
Now, this doesn't sum up to 2.1 GBytes, obviously. Puzzled by the different figures I did:
Code:
# du -s -m *
1 Aktuell
1 Archiv
1 SP0axA2dAcU
1 SP0axa00429
1 SP0axeyQHCn
1 drafts
93 inbox
1 outbox
75 sent-mail
1 templates
1 trash
According to this, and du -s -m executed from inside inbox, this folder should contain 93 MB of email messages. But ls has its own opinion on that:
Code:
# ls -lh
total 196K
drwx------ 2 myuser users 184K 2009-09-04 23:58 cur
drwx------ 2 myuser users 4.0K 2008-05-22 22:48 new
drwx------ 2 myuser users 4.0K 2009-09-04 22:04 tmp
Can anyone explain this inconsistency in the figures?
BTW, 2.1G is the correct value. Much of it are archived emails that are displayed in the GUI under folder "Archive". I see a folder with this name in ~/.kde/share/apps, but it seems to be empty.
I am puzzled now, and would appreciate, if someone explain this a little.
Thanks in advance!
gargamel