On Monday 20 May 2024 10:28:09 am Dr. Nikolaus Klepp via tde-users wrote:
Anno domini 2024 Mon, 20 May 10:02:56 -0500
Chris M via tde-users scripsit:
> On Monday 20 May 2024 09:29:39 am Dr. Nikolaus Klepp via tde-users wrote:
> > Anno domini 2024 Mon, 20 May 08:55:56 -0500
> >
> > Chris M via tde-users scripsit:
> > > On Monday 20 May 2024 01:53:16 am J Leslie Turriff via tde-users
wrote:
> > > > Yes. IMO storing user data
in an application's config space is
> > > > BAD PRACTICE; and there is no user-oriented method for overriding
> > > > this, the user has to discover where it is stored, then modify
> > > > .trinity/share/config/kmailrc manually. :-(
> > > >
> > > > Leslie
> > >
> > > If I could figure it out, without screwing up KMAIL, I TOTALLY would
> > > move my "mail" folder to /home.
> > >
> > > That would be a lot easier to get to then having to navigate to:
> > >
> > > .trinity/share/apps/kmail/mail
> >
> > cd
> > tar cJf backup-kmail.tar.xz .trinity/share/config/kmailrc
> > .trinity/share/apps/kmail/mail killall kmail
> > sed 's#^\(folders=\).*$#\1=$HOME/mail" -i
.trinity/share/config/kmailrc
> > mv .trinity/share/apps/kmail/mail .
> > kmail
Does that get ran as one long command or are those separate commands?
each in one line. If you are brave skip the tar :)
So basically:
cd tar cJf backup-kmail.tar.xz .trinity/share/config/kmailrc
.trinity/share/apps/kmail/mail killall kmail
sed 's#^\(folders=\).*$#\1=$HOME/mail" -i .trinity/share/config/kmailrc
mv .trinity/share/apps/kmail/mail .kmail
Like that?
$ cd
$ tar cJf backup-kmail.tar.xz .trinity/share/config/kmailrc .trinity/share/apps/kmail/mail
killall kmail
$ sed 's#^\(folders=\).*$#\1=$HOME/mail" -i .trinity/share/config/kmailrc
$ mv .trinity/share/apps/kmail/mail .kmail
$ kmail
--
Please do not email me anything that you are not comfortable also sharing with the NSA,
CIA ...