osamuaoki / tzim

Convert Tomboy / Gnote notes to zim notes
GNU Affero General Public License v3.0
2 stars 2 forks source link

Spaces in folder names prevent content from showing in Zim #1

Open SupraLance opened 3 years ago

SupraLance commented 3 years ago

Tzim handles spaces in file names beautifully, by inserting an underline in place of each space so the file will display correctly in Zim, with the spaces just as it appeared in tomboy. Unfortunately, if you used spaces in your notebooks in Tomboy, tzim will leave these spaces in when it converts these notebooks to folders. Although Zim allows spaces in note names, it does not allow them in filenames or foldernames, so when you try to open these notes in Zim, they will be empty (title but no content).

It would be nice if tzim could change these spaces in the folder name to underlines, like it does for filenames.

In the meantime, an obvious (and necessary) workaround is to remove any spaces in your Tomboy folder names before running tzim.

osamuaoki commented 3 years ago

It has been long since I converted.

I may have used one liner shell trick to address problem you mention.

Good luck.

On Sun, 2021-09-12 at 11:46 -0700, SupraLance wrote:

Tzim handles spaces in file names beautifully, by inserting an underline in place of each space so the file will display correctly in Zim, with the spaces just as it appeared in tomboy. Unfortunately, if you used spaces in your notebooks in Tomboy, tzim will leave these spaces in when it converts these notebooks to folders. Although Zim allows spaces in note names, it does not allow them in filenames or foldernames, so when you try to open these notes in Zim, they will be empty (title but no content). It would be nice if tzim could change these spaces in the folder name to underlines, like it does for filenames. In the meantime, an obvious (and necessary) workaround is to remove any spaces in your Tomboy folder names before running tzim. — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.