Re: [Evolution-hackers] EPlugin, export mail folder, Update!
- From: smurfd <smurfd smurfnet homelinux net>
- To: Not Zed <notzed ximian com>
- Cc: evolution-hackers lists ximian com
- Subject: Re: [Evolution-hackers] EPlugin, export mail folder, Update!
- Date: Thu, 20 Jan 2005 03:13:26 +0100
> Well, i mean you can do 'mkdir -p' using code. You should definitely
> do that. Adding the .sbd thing isn't hard either, there should be
> code in camel/providers/local/camel-mbox-store.c which does it, I
> think, or somewhere in that directory.
Okey yeah it had a function there, seems pretty straigt forward to use.
Thanks!
> Hmm, i'd still prefer cpio. They can be accessed better using
> code/scripts. For example, your screenshots use 'tar j...', j is only
> a very new option to tar, and isn't very portable. But i guess its
> only details.
Okey, that to avoid using system() i guess. mkay.
> If you want to do a multi-step thing like that, it should probably be
> a wizard - e.g. if you wanted to be able to select different backup
> formats, compression options, etc.
Okey, well on secound thouhgts. How about nothing is needed by the user.
You point out what folder you want to export, and to were. Then after
that it automaticly creates a
~/evolution-<folder-getting-extracted>-backup.cpio and compresses the
exported folder there. And if now that file exists, you get a question
if you want to overwrite it, or change its name.
It could save some data in the gconf say the compression information.
So, if someone wanted to change it, they could. But as a default user.
you get it in your home, with the default settings and default name and
all. As little user messing as possible.
That or as you say, a wizzard, but hm it feels abit "to much" for a
plugin you know. imo. that is.
But hm, a wizzard would solve a little problem im batteling.
Since i got the copying of mbox files in a separate thread, and After
that its done, i want to run the compression on the exported data. I
need to know when the exporting is done.
Eh how would i know that?
/Nicklas
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]