/Flat_Bookmarks

The `flatten_bookmarks.py` script extracts all bookmarks from pesky nested folders in an HTML bookmarks file and consolidates them into a single folder.

Primary LanguageHTMLThe UnlicenseUnlicense

Bookmarksâ™­

Flat Bookmarks

This repository contains scripts and tools for managing and flattening browser bookmarks.

Flatten Bookmarks Script

Description

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.

Usage

  1. Clone the repository:

    git clone https://github.com/LLPPR/bookmarks-management.git
    cd bookmarks-management
  2. Run the script:

    python flatten_bookmarks.py
  3. 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.

Requirements

  • Python 3.x

License

This project is licensed under the Unlicense.