← Back to team overview

gtg team mailing list archive

Re: [Question #125296]: How to import old xml file from previous GTG installation?

 

Question #125296 on Getting Things GNOME! changed:
https://answers.edge.launchpad.net/gtg/+question/125296

    Status: Open => Answered

Luca Invernizzi proposed the following answer:
Hi martina,
from what you've written, it seems that you know where files are located for GTG, so explaining will be easier. 
Remember to keep a copy of the xml, in case anything goes wrong (it shouldn't, anyway).

=== Reset RTM sync ===
Before all, delete .local/share/gtg/plugins/rtm-sync/ . Explanation (you can skip it): that's where the mapping between your GTG tasks and the RTM tasks is located. If you restore your old xml file, the Rtm plugin will assume that you deleted all your old tasks and added a bunch of new tasks (because it cannot know that you "messed" with the xml). If you just delete that file, you'll be fine.


=== Restore old tasks set ===
- close GTG
- Go to your ~/.local/share/gtg folder
- place your xml there, name it any way you like (let's say tasks.xml)
- open projects.xml in that directory (gedit will do the job perfectly)
- find the row starting with <backend filename="  (it should be the third)
- replace the '      filename="SOMECODE.xml"      ' with    '      filename="tasks.xml"   ', or the name you've chosen
- reopen GTG.

-- 
You received this question notification because you are a member of Gtg
developers, which is an answer contact for Getting Things GNOME!.