• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

james-cube/firefox-bookmarks-merger: Tool for merging firefox bookmarks backups.

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

james-cube/firefox-bookmarks-merger

开源软件地址:

https://github.com/james-cube/firefox-bookmarks-merger

开源编程语言:

Python 100.0%

开源软件介绍:

Build Status

firefox-bookmarks-merger

Tool for merging firefox bookmarks backups. Designed for people who don't want to use cloud based tools like firefox sync, plugins, want to version control their bookmarks backups or have any other reason to do this locally.

Usage

How to backup/restore firefox bookmarks? (up to date with Firefox 54)

In top menu Bookmarks under Show All Bookmarks there is button Import and Backup which allows you to perform those operations either using json or html file. This module uses and generates json backups.

How to use the tool?

Listing bookmarks

Creating simple tree structure showing all firefox bookmarks in menu, toolbar and starred.

python firefox_bookmarks_merger --list --files bookmarks-20XX-XX-XX.json --output output.txt

Example output

Merge

Merge two or more backup files into one. First one is considered "primary". Bookmarks from next backup files will be appended (if there is no duplication). Folders with same name are not merged, but duplication removal is recursive.

python firefox_bookmarks_merger --merge --files bookmarks-20XX-XX-XX.json bookmarks-20YY-YY-YY.json --output output.json

Merge to subdirectory

Simple merge of two or more backup files. Each additional backup after primary is given his own folder in primary backup and all bookmarks are stored there, without duplicate removal. To put it simple, in example below, there will be folder named bookmarks-20YY-YY-YY.json generated alongside bookmarks from bookmarks-20XX-XX-XX.json with whole list stored there.

python firefox_bookmarks_merger --merge-to-subdir --files bookmarks-20XX-XX-XX.json bookmarks-20YY-YY-YY.json --output output.json

All program arguments

usage: firefox_bookmarks_merger [-h] (--list | --merge | --merge-to-subdir)
                                --files FILES [FILES ...] --output OUTPUT

optional arguments:
  -h, --help            show this help message and exit
  --list                Print titles and urls of all bookmarks
  --merge               Merge bookmarks with duplicate removal
  --merge-to-subdir     Create additional folder for merged bookmarks
  --files FILES [FILES ...]
                        List of files to process
  --output OUTPUT       Output file

Other modules

I also developed similar tool for session management Firefox Session Merger




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap