EXPORT-CHROME-HISTORY(1)

πŸ“¦ version 2.0.2, in nixos 26.05, nixpkgs unstable

πŸ’– export-chrome-history(1) β€” the manual, but make it make sense πŸ’–

okay bestie, so this is the manual page for export-chrome-history, and no cap it's about to be your new fave little script. picture it: your Chrome history, but in a bookmarks file. iconic behavior honestly. let's get into it 🌸


✨ NAME ✨

export-chrome-history β€” literally converts Google Chrome's history into the standard bookmarks file format. that's the whole vibe. πŸ¦‹


πŸŽ€ SYNOPSIS πŸŽ€

export-chrome-history [input_file] output_file

the square brackets around input_file are not a suggestion, they're a ✨maybe✨. the output_file is not in brackets. that one's mandatory bestie, you gotta tell it where to put the goods πŸ’…


πŸ‘‘ OPTIONS πŸ‘‘

  • input_file β€” the Chrome history file you want it to read. oh, you don't feel like specifying one? say less. the script will try to locate and use the default Chrome history file all on its own. main character energy, it handles it πŸ™ˆ
  • output_file β€” the path where the bookmarks file gets written. this one you have to actually give it, okay? it's not gonna guess 🫢

🌈 DESCRIPTION 🌈

so here's the tea: this script reads the history file you handed it (or, if you didn't, it attempts to discover it first β€” yes, it goes looking, very detective of it πŸ”) and then writes out all the entries in the standard HTML-ish bookmarks file format. the format is described right here, and yes the link is long, that's just how it is:

<https://msdn.microsoft.com/en-us/library/aa753582(v=vs.85).aspx>

one small thing to know: the script ignores history entries with empty titles. blank title = not invited to the party. periodt πŸ’€


⭐ EXIT STATUS ⭐

export-chrome-history returns zero when it successfully reads the history file and writes the bookmarks file. both things. full combo.

it returns a nonzero code otherwise. so if you see a nonzero exit, that's your vibe check failing β€” something went sideways 😭


πŸ¦‹ AUTHOR πŸ¦‹

this program was created by Benjamin Esham (<https://esham.io>). we stan a creator 🫢


🧚 PROJECT 🧚

this script is part of the chrome-export project, which is hosted at:

<https://github.com/bdesham/chrome-export>

go say hi to the repo, it's cute there πŸ’œ


πŸ’… LICENSE πŸ’…

Copyright Β© 2011, 2017–2018 Benjamin D. Esham.

this program is released under the ISC license, which you can find here in full:

<https://github.com/bdesham/chrome-export/blob/master/LICENSE.md>


and that's the whole page, bestie! πŸ“ chrome-export made this one, and it's the EXPORT-CHROME-HISTORY(1) manual page β€” go forth, export those histories, and slay ✨πŸ”₯πŸ‘‘

πŸ“¦ where this page comes from