Skip to content

opais/hist_safari2chrome

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Import Safari history into Chrome

Simple script that imports entries from the Safari history database into that of Chrome

Screenshot

Usage

Back up first.

$ bundle exec ruby import.rb safari.db chrome.db [--verbose --progress]

Can be run multiple times as the import process is indempotent. Indeed, duplicates are removed at the end.

Locations of SQLite database files in macOS:

  • Safari: ~/Library/Safari/History.db
  • Chrome: ~/Library/Application Support/Google/Chrome/Default/History

Credits

Thanks to @dropmeaword. This script is inspired by his gist browser_history.md.

About

Import Safari history into Chrome

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%