emmanuel_uk Posted September 28, 2006 Report Share Posted September 28, 2006 I am trying to find in which configuration file my distribution lists in kmail are stored (and the emails in plain text as well while I am at it) (need to do that because I want to use a .kde backup) No luck within (unless I am not cherching well) ~/.kde/share/apps/kmail ~/.kde/share/config/kmailrc or kontactrc ~/.kmailrc nor with google I might cat the whole .kde directory and grep a known string (might work) Thanks Quote Link to comment Share on other sites More sharing options...
neddie Posted September 28, 2006 Report Share Posted September 28, 2006 Sorry I can't help with kmail, I've never used it, but if you want to grep for a known string, do this: grep -iR "known string" ~/.kde/ which means grep Recursively and case-insensitively for that string starting from that directory. It'll take a while if the directory is big but it should work. Quote Link to comment Share on other sites More sharing options...
Mhn Posted September 28, 2006 Report Share Posted September 28, 2006 on my old cooker partition, (which I abandoned before summer) I have a folder .kde/share/apps/kmail/mail/: [mhn@secret mhn]$ ls .kde/share/apps/kmail/mail/ drafts/ inbox/ inboxmbox outbox/ sent-mail/ sentmbox trash/ don't remember if I've created those myself though, or they have changed locations. Nowadays I use thunderbird (mdv 2006), so cant say if it's the same now Quote Link to comment Share on other sites More sharing options...
emmanuel_uk Posted September 29, 2006 Author Report Share Posted September 29, 2006 thanks for the help eventually found emails and list were there Why is it called abc, no idea, nevermind $ ls .kde/share/apps/kabc distlists lock/ std.vcf std.vcf_1 std.vcf_2 std.vcf_3 std.vcf_4 std.vcf_5 std.vcf_6 std.vcf_7 I had to use this bad bash script (could grep but would not tell me which file), so j tells me which file it was find . -type f | while read i; do { j=$[ $j+1 ] echo $j #cat $i | xargs ls -l | grep -v "No such file or directory" cat $i | grep toto } done; Very much like your grep -iR foobar `pwd` thanks again Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.