We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

חיפוש בתמיכה

יש להימנע מהונאות תמיכה. לעולם לא נבקש ממך להתקשר או לשלוח הודעת טקסט למספר טלפון או לשתף מידע אישי. נא לדווח על כל פעילות חשודה באמצעות באפשרות ״דיווח על שימוש לרעה״.

מידע נוסף

How do I import a bookmark html from the command line?

  • 4 תגובות
  • 1 has this problem
  • 16 views
  • תגובה אחרונה מאת cor-el

more options

I have a bookmark file that I have exported to an HTML. I am using Firefox 31.4.0 in Linux and I would like to know how I can import the bookmark from the command line. I would not like to use the mouse & pointer to do this as I have to automate creating/placing bookmarks for a kickstart installation of linux

I have a bookmark file that I have exported to an HTML. I am using Firefox 31.4.0 in Linux and I would like to know how I can import the bookmark from the command line. I would not like to use the mouse & pointer to do this as I have to automate creating/placing bookmarks for a kickstart installation of linux

כל התגובות (4)

more options

To open the Bookmarks Manager, press the Alt or F10 key bring up the tool bar, and select Bookmarks. Hot key is <Control>(Mac=<Command>) <Shift> B.

Once the window is open, at the top of the page, press the button labeled Import and Backup. Select Export Bookmarks To HTML, and follow the prompts and save it to a HTML file. Copy the file to another computer. Repeat the instructions above, BUT select Import Bookmarks From HTML,

more options

Firefox can automatically import the bookmarks from a bookmarks.html file in the Firefox profile folder when you delete the places.sqlite files in case there are no compressed .jsonlz4 backups in the bookmarkbackups folder. Firefox normally keeps up to 15 backups (browser.bookmarks.max_backups) in the bookmarkbackups folder.

Deleting the places.sqlite file will also delete the browsing history.

You can use this button to go to the current Firefox profile folder:

more options

Thanks, but what I am looking for is to do stuff from command line.. like placing some files in certain locations which would mirror what I would normally do using GUI.

more options

I don't think that is possible. Maybe open the Bookmarks Manager (Library) via a modified desktop shortcut by appending -chrome "chrome://browser/content/places/places.xul" to the command line.

32 bit Windows:

  • "C:\Program Files\Mozilla Firefox\" -chrome "chrome://browser/content/places/places.xul"