luxi78 / joplin2obsidian

Making the move from Joplin to Obsidian
123 stars 13 forks source link

Notebook names can't start with `*`. #5

Open jtagcat opened 3 years ago

jtagcat commented 3 years ago

All notes in notebooks (or subnotebooks) of a notebook, what's name starts with * are not included in the result.

luxi78 commented 3 years ago

Obsidian use the note book title as the markdown file name. and * isn't allowed in the file name

jtagcat commented 3 years ago

Dropping instead of warn-renaming doesn't seem to be sane. I was confused, that half of my stuff didn't show up.

luxi78 commented 3 years ago

Dropping instead of warn-renaming doesn't seem to be sane. I was confused, that half of my stuff didn't show up.

It won't drop your notes, just rename * to . instead

https://github.com/luxi78/joplin2obsidian/blob/374579ce175af32cc215eb3b23727a8d645df970/def.go#L30

jtagcat commented 3 years ago

Huh, my notes were dropped. Just in case, let me say this again: the notebook aka folder name had * in it, not notes.

luxi78 commented 3 years ago

Huh, my notes were dropped. Just in case, let me say this again: the notebook aka folder name had * in it, not notes.

Ok, I will check and fix the problem when I have time.