(!) manipulate with old Joplin files, now this is only Export RAW. Does not support last versions that use SQLite.
I happyly migrated to the Obsidian and do not use Joplin anymore, so this is unlikely to be developed further.
I had not published this package to PyPI, so you need to clone the repo and install it from sources:
. ./activate.sh
joplin-bulker --help
Note first dot, it is important.
Python script to bulk remove tags from Joplin files.
joplin-bulker tag ---rm=<tag name to remove>
To run the script you need Python 3.10 or higher.
Install dependencies with
. ./activate.sh
Specify folder
with you Joplin files in config.yaml
.
For the Joplin API to work you should enable Joplin Web Clipper Service - in Joplin Desktop application open Preferences
and enable it in Web Clipper section
:
As discussed in Joplin forum in UI there is no command for tags bulk removing.
There is Joplin command line but I wanted simple code in Python that I could easily modify for my purposes.
As a bonus here we have Python code that can be adjusted by anybody who prefer Python. For example it would be easy to filter by note title or to find all dangling tags and so on.
We use Joppy to communicate with Joplin API.