verb (used with object), con·sol·i·dat·ed, con·sol·i·dat·ing.
- to bring together (separate parts) into a single or unified whole; unite; combine: They consolidated their three companies.
- to discard the unused or unwanted items of and organize the remaining: She consolidated her home library.
- to make solid or firm; solidify; strengthen: to consolidate gains.
bookmarks-consolidator is a CLI tool that combines and de-duplicates two sets of bookmarks. It accepts HTML files exported from Firefox, Chrome, etc., and consolidates them into an HTML file containing the combined bookmarks from both.
Duplicate bookmarks are skipped, and duplicate folders are merged. Consolidate your bookmarks from multiple browsers into one with this simple tool.
# Create virtual environment
python3 -m venv env
# Activate virtual environment
. env/bin/activate
# Install required packages
pip install -Ur requirements.txt
python consolidate.py "bookmarks_1.html" "bookmarks_2.html"
A file bookmarks_export.html
will be created as a result, containing
consolidated bookmarks from both input files.