![Firefox logo](https://assets-prod.sumo.prod.webservices.mozgcp.net/media/uploads/products/2020-04-14-08-36-13-8dda6f.png)
How do i save and restore tags and other fields with my bookmarks?
Hello,
I've saved my bookmarks by using Export bookmarks to HTML". But the "tags" and "keywords" fields are not listed on the created page.
How do i save tags and keywords?
Related question: I'm using a Mac... where are the tags and keywords stored? Is that in /Library/Application Support/Firefox/Profiles/(profile name)/bookmarkbackups/bookmarks-(date)(hash)==.jsonlz4 ? How would i read that and be able to utilize the tags and keywords from there?
Thank you for any clues.
Všetky odpovede (1)
A bookmarks HTML backup includes basic bookmark data like title and href and not meta data like tags. Keywords should be included though as the shortcuturl attribute. Only a JSON backup includes all meta data and restoring a JSON backup fully restores bookmarks with all attributes and meta data used in the places.sqlite database.
An automatically created bookmark backup is compressed and you would have to decompress such a backup to be able to inspect this file. You can create an uncompressed JSON backup manually.
You can look at this tool to decompress a JSON backup.
See also this extension.