Home / GitHub Page

Convert from cherrytree feature request

I could not believe I found something like that app, great work, totally fantastic.

I would love to know if there are any plans to convert from cherrytree’s sqlite format.

I have several dozens megs in cherrytree format but I’d really love to migrate from it to joplin.

My current workflow looks like the following: cherrytree to html dir -> html to md with pandoc -> import into jpolin

The critical for me tree structure does not import at all, there are troubles with the imported images too.

Best,
Alec

Hi and welcome on board :wink:

did you see any error when importing ?

if no, can you make a try with the command line joplin (provided by the joplin-terminal version) ?

eg

joplin import <path> [notebook]

    Imports data into Joplin.

    --format <format>  Source format: auto, jex, md, raw, enex
    -f, --force        Do not ask for confirmation.

There’s no automated way to migrate from cherrytree to Joplin. I’m afraid you will have to export the data from the source db with an SQL statement, so that you get the folder structure. Then you can use the Joplin API to import the data per script.

Check out the Apps category. Maybe you’ll find a script you can use.

This does not import cherrytree’s ctb files

# joplin import --format auto vim.ctb 
Importing notes...
Cannot read property 'indexOf' of undefined

Thanks but there’s nothing suitable for my case

Of course not, there’s no support for cherry tree files.

I guess in that case my first statement holds: I’m afraid you will have to export the data from the source db with an SQL statement, so that you get the folder structure. Then you can use the Joplin API to import the data per script. (And the script you would have to write yourself.)

I guess, the topic contains “feature request”…

Ok, my bad. In that case: Good luck!

Can you convert the cherry tree files to enex? Then you could import those.

Well, for now, when wow effect has been gone, I chose to go with cherrytree. Either cherrytree will lauch the Android app, or Joplin will make a sane import thing, the chances are 50/50…

Built-in import from Cherrytree is very unlikely to happen, as we can’t support every export formats out there. The way to go around this normally is to export to enex first, then import into Joplin, but if Cherrytree doesn’t do that either there’s not much we can do.

Thank you for answering

Currently, I go with both as soon as I have a huge amount of notes in cherrytree
Importing experience is poor, imported notes require manual formatting, which is not realistic to make
I try to use Joplin for newer notes but I tend to come back to cherrytree for many reasons

However, I wish much luck to the developers, the product is very promising and close to what I hope to have with time.

I am in the same situation - use CT for a while but discovered Joplin and want to migrate.
I have not tried this yet, but I think the following process should work:

  1. In CherttyTree save as HTML
  2. Convert HTML to MD using Pandoc
  3. Import MD to Joplin