The title pretty much explains. I've tried searching and couldn't find any reliable info. Almost all posts in the internet are asked many years ago.
1 Answer
Quick script:
https://github.com/Roman2K/hist_safari2chrome
- Move Safari's history database at a convenient place.
- Create a database for Chrome using this script and replace the Chrome's under ~/Library with the new one.
- Increase Firefox limits of import using https://superuser.com/questions/1635171/firefox-doesnt-import-all-history-from-chrome/1635172#1635172
- Import history from Chrome in Firefox.
Edge can import Safari history. Give it Full Disk Access, and then import history, bookmarks etc. Remove FDA now.
Then Firefox can import Edge history: create a new profile (or not, if it's a new download), import data from the appropriate Edge profile.
Then Chrome/Brave can import from Firefox profile in the same manner.
Delete the bookmarks folder and history items added by Firefox though.
cp -rf /Users/$(whoami)/Library/Safari/History.db-wal /Users/$(whoami)/Library/Safari/History.db ~/