Join the Mozilla’s Test Days event from Dec 2–8 to test the new Firefox address bar on Firefox Beta 134 and get a chance to win Mozilla swag vouchers! 🎁

Mozilla Destek’te Ara

Destek dolandırıcılığından kaçının. Mozilla sizden asla bir telefon numarasını aramanızı, mesaj göndermenizi veya kişisel bilgilerinizi paylaşmanızı istemez. Şüpheli durumları “Kötüye kullanım bildir” seçeneğini kullanarak bildirebilirsiniz.

Daha Fazlasını Öğren

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

  • 4 yanıt
  • 1 kişi bu sorunu yaşıyor
  • 2 gösterim
  • Son yanıtı yazan: 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

Tüm Yanıtlar (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"