[Kmymoney] Export/Import Categories

Thomas Baumgart thb at net-bembel.de
Mon Oct 8 15:18:41 UTC 2012


Hi Kenneth,

On Monday 08 October 2012 11:10:13 Kenneth Jacker wrote:

> Found time over the weekend to try your suggestions ...
> 
> Executive summary:  they worked!

Cool.

>   thb> Yes, use File/Export/Account template on the 'other' file and
>   thb> name it, move it into the template directory of your country
>   thb> (they usually live in KDEDIR/share/apps/kmymoney/templates) and
>   thb> then use 'File/Import/Account template' on a new empty file.
> 
> Did that.
> 
>   thb> Use 'kde4-config --path data' in a shell to see where KDEDIR can be
> (there thb> might be multiple locations).
> 
> Turned out the language-specific "template" directory was here:
> 
>      /usr/share/apps/kmymoney2/templates/en_US/

Are you using KMyMoney 1.0.x or KMyMoney 4.x.y? In the former case, the 
command would be 'kde-config' instead of 'kde4-config'.


> Though the 'kde4-config' command above output this:
> 
>      ~/.kde/share/apps/:/usr/share/kde4/apps/
> 
> Anyway, using the first path corresponded to a place for the exported
> template file.
> 
> (BTW, I'm running this on an up-to-date Ubuntu-10.04.1 system ...)
> 
>   thb> Unfortunately, the list during import presents it completely
>   thb> empty as no meta information is available in the file.
> 
> Yes, that confused me at first ... but "clicking" on the "empty" list
> item "did the trick"!
> 
> 
> This success with importing previous "categories" has, I'm afraid, made
> me greedy!  Is there any way to "pre-load" my many "payees" as well?  No
> big deal, but thought I'd ask ... ;-)

Simply copy the whole <PAYEES> block from the older XML file into the newer 
one using the editor of your choice. That should do it. Make sure no payee 
exists in the newer file.

> Thanks for the prompt, clearly stated and useful info!

You're welcome.

> Few other "free" applications/packages are as good as KMM (the Shorewall
> firewall comes to mind as another example) ... incredible!

Thank you very much. I might have to quote you on this one :)

-- 

Regards

Thomas Baumgart

GPG-FP: E55E D592 F45F 116B 8429   4F99 9C59 DB40 B75D D3BA
-------------------------------------------------------------
Laziness led to the invention of the most useful tools.
-------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 225 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kmymoney/attachments/20121008/3d179a8a/attachment.sig>


More information about the KMyMoney mailing list