Automating the Renaming of Notes with Unaccepted Characters in Obsidian

Hello,

I have transferred my notes from Joplin to Obsidian. However, my note titles contain characters like #, ?, and : that Obsidian does not accept. Therefore, the titles are incomplete. But the full titles of my notes are available in the ‘Title’ field. So, I have to manually adjust the titles using an application called ‘Smart Rename’. This means I am copying the file name from the ‘Title’ field without unwanted characters and pasting it into the note name automatically. Considering that I have a large number of notes, is it possible to automate this process for all notes?

I don’t have any experience in coding. I would appreciate it if programmer friends could help with the script.

Although I’ve been manually editing the titles of my notes for a few months, this topic will be useful and important for users like me who have transitioned from note-taking apps like Joplin to Obsidian.



up thxx

up thx…

similar thread:

you’ll need to hunt for a plugin or more probably have a bash/shell or python script written that does the job with obsidian closed

Hello,

Thank you. I looked at the topic and the “Auto Filename” plugin there. But I need a different solution because the title I need is already exactly written in the title section in YAML format. However, there are special characters in that title that Obsidian (or Windows) does not accept. I am looking for a plugin that can automatically filter out the special characters from the title and add it to the header. Actually, as you said, this can be done with a simple script. But you need some coding knowledge for that. I believe that someone who provides such a contribution will not only help me but also other users who have switched to Obsidian from other note-taking applications and are experiencing the same issue as I am.

from my experience looking at forum posts only ‘certified’ coders are welcome to share code…
so unless they show up…you’re on your own…

make a test vault copying 5-6 files of your current vault and use that vault path as root path for any code you might want to cook up with a chat bot… from my experience, you can be done in an hour or two…

1 Like

Thank you very much for your contribution. If there is any development, I will write about it in the thread. Have a good time on the forum!

Arkadash

…maybe you can make it easier on yourself and have a script written that cleans up the filenames (obsidian closed) and then with linter plugin i think you can update the title property based on the filename – easier to prompt the robot like this…

Thank you arkadash. I had researched this on ChatGPT before, but unfortunately, I couldn’t apply the results I got there because they seemed complicated. I couldn’t find a step-by-step guide anywhere either. I manually corrected the heads of a significant portion of the notes, but it would be great to have the remaining ones sorted out quickly.

I am continuing my research. I find it interesting that people transitioning from another note-taking app to Obsidian haven’t made any requests on this matter.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.