This repository contains scripts and tools for managing and flattening browser bookmarks.
The flatten_bookmarks.py
script extracts all bookmarks from nested folders in an HTML bookmarks file and consolidates them into a single folder up to a specified directory level.
-
Clone the repository:
git clone https://github.com/LLPPR/bookmarks-management.git cd bookmarks-management
-
Run the script:
python flatten_bookmarks.py
-
Follow the prompts to provide the path to your bookmarks HTML file and the number of directory levels to flatten to. The flattened bookmarks will be saved to
flattened_bookmarks.html
.
- Python 3.x
This project is licensed under the Unlicense.