On 12/30/19, sean   wrote:
> Frank-Rainer Grahl wrote on 12/30/19 3:26 PM:
>> sean wrote:
>>> I was sifting and sorting my bookmarks for the move from 2019 to 2020.
>>> I guess I overloaded the file, or Seamonkey's ability to handle a
>>> large html backup of bookmarks. When choosing to "manage bookmarks"
>>> now, I get a very slow to load blank page. Anyone know which file I
>>> need to rename or delete to get my bookmarks working once again?
>>
>> How many bookarks do you have? Any old add-ons managing bookmarks? The
>> bookmarks are now in the database places.sqlite. If you delete it as lee
>> suggested the last backup should be restored during startup. Please
>> close SeaMonkey before deleting the file and make sure you have a full
>> profile backup in case something goes wrong.
>>
>> FRG
>
> I have way too many bookmarks and am trying to delete/sift & sort
> them... deleting the trio of sqlites. made them visible again, but I
> guess the file size is too large to handle, even though I have plenty of
> memory.
>
> guess I need to walk away for a bit to let the whole "manage bookmarks"
> load.

Not a great solution, but better than nothing.. assuming "manage
bookmarks" eventually does load all your bookmarks and you can export
your bookmarks as html (tools / export html).  Run a script to show
all the dups so you know what can be deleted:

$ cat findDupBookmarks.sh
#!/bin/sh
# input: FF/SM 'Export Bookmarks to HTML' file

BMF="$1"
# bookmark file name, should at least make sure it exists

grep '<A HREF=' ${BMF}              |\
 sed -e 's/^ *<DT><A HREF="//'       \
     -e 's/ ADD_DATE="[^"]*"//'      \
     -e 's/ ICON="[^"]*"//'          \
     -e 's/ ICON_URI="[^"]*"//'      \
     -e 's/ LAST_MODIFIED="[^"]*"//' \
     -e 's/ LAST_CHARSET="[^"]*"//'  \
     -e 's/ TAGS="[^"]*"//'          \
     -e 's/">[^>]*>//'              |\
 sort | uniq -d

$ findDupBookmarks.sh bookmarks.html
https://lite.qwant.com/


or you can list your bookmarks and run it thru a dead link checker or
somesuch to find things to be deleted or changed to point to
archive.org

$ cat listBookmarks.sh
#!/bin/sh
# input: FF/SM 'Export Bookmarks to HTML' file

BMF="$1"
# bookmark file name, should at least make sure it exists

egrep '(<A HREF=|<DT><H3 )' ${BMF}    |\
 sed -e 's/^ *<HR> *//'                \
     -e 's/^ *<DT><A HREF="//'         \
     -e '/^place:/d'                   \
     -e 's/^ *<DT><H3 [^>]*>/--/'      \
     -e 's/ ADD_DATE="[^"]*"//'        \
     -e 's/ ICON="[^"]*"//'            \
     -e 's/ ICON_URI="[^"]*"//'        \
     -e 's/ LAST_MODIFIED="[^"]*"//'   \
     -e 's/ LAST_CHARSET="[^"]*"//'    \
     -e 's/ TAGS="[^"]*"//'            \
     -e 's~</H3>~~'                    \
     -e 's/">[^>]*>//'

$ listBookmarks.sh bookmarks.html | head -5
--SeaMonkey and Mozilla
http://www.seamonkey-project.org/
--mozilla.org
http://www.mozilla.org/
http://www.mozilla.org/projects/

Regards,
Lee
_______________________________________________
support-seamonkey mailing list
[email protected]
https://lists.mozilla.org/listinfo/support-seamonkey

Reply via email to