搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

How can I merge an old browsing history file into the current one?

  • 4 个回答
  • 11 人有此问题
  • 1 次查看
  • 最后回复者为 cor-el

more options

Several weeks ago, the C: drive on my PC was replaced and Firefox was recreated before I could copy over my old profile to the new drive. I now want to recover the old browsing history, but of course the new profile already has its own, more recent, places.sqlite file that I do not want to lose.

How can I merge the two histories?

Several weeks ago, the C: drive on my PC was replaced and Firefox was recreated before I could copy over my old profile to the new drive. I now want to recover the old browsing history, but of course the new profile already has its own, more recent, ''places.sqlite'' file that I do not want to lose. How can I merge the two histories?

被采纳的解决方案

That is not possible.
You can't merge the history.

A way to achieve this would be to use a separate profile and copy the places.sqlite file to that profile (delete an existing places.sqlite-journal file).
Use Copy and Paste to copy the history items to a bookmarks folder in the Bookmarks Menu folder.
Export the bookmarks to an HTML file and import that HTML file in the current Firefox profile.

定位到答案原位置 👍 2

所有回复 (4)

more options

选择的解决方案

That is not possible.
You can't merge the history.

A way to achieve this would be to use a separate profile and copy the places.sqlite file to that profile (delete an existing places.sqlite-journal file).
Use Copy and Paste to copy the history items to a bookmarks folder in the Bookmarks Menu folder.
Export the bookmarks to an HTML file and import that HTML file in the current Firefox profile.

more options

or set up firefox sync in the two profiles & sync the history data...

more options

I also found another solution: Firefox has an addon called SQLite Manager The history and bookmarks records are kept in a common SQLite database that can be edited with this addon. It can also import and export data from or to other tables.

I can import data from an old backup of places.sqlite that contains the links I am looking for and merge it into the current one. QED

more options

You can easily corrupt places.sqlite when you move items from history to bookmarks with the SQLite Manager extension. They both use different fields and tables and you would also need to rebuild the indexes.