Are you ready to migrate from Bear to Obsidian? Let's go!
This tool will:
- Parse Bear tags, create folders for each tag name and move notes to the appropriate folders
- Adjust attachments from Bear to Obsidian format
Tags with a forward slash will create subfolders, for example:
#programming/ruby
will create the programming
folder and a ruby
folder inside it.
Spaces within tags will be converted to underscore, for example:
#programming ruby#
will create a folder named programming_ruby
We need to have the following installed:
Followed by these commands in your terminal:
git clone https://github.com/bernardoamc/obsidian_bear.git
- Go to this new folder:
cd obsidian_bear
- Export from Bear as
Markdown + Attachments
to a folder - Backup your notes, seriously.
- Copy the
full path
of your notes folder
You can get the full path by running the following command in your notes folder:
$ pwd
bundle exec rake migrate <notes_path>
Enjoy Obsidian!
- When a note has multiple tags the note will be duplicated into folders for each tag.
- Since new folders and files are created the file metadata is not kept (creation date, updated at, etc..)
Bug reports and pull requests are welcome on GitHub at https://github.com/bernardoamc/obsidian_bear.
The gem is available as open source under the terms of the MIT License.