Add way to list duplicate bookmarks
See original GitHub issueI have hundreds of bookmarks and had some inadvertent dupes. Some I actually want that way, stored in two different folders, most I did not. So I used a SQL query on my NextCloud server to seek and destroy these dupes. It looks like this:
SELECT MAX(`oc_bookmarks`.title) AS title, COUNT(`tag`) AS count, GROUP_CONCAT(`tag` SEPARATOR "\n")
FROM `oc_bookmarks_tags`
INNER JOIN `oc_bookmarks`
ON `oc_bookmarks`.id = `oc_bookmarks_tags`.bookmark_id
GROUP BY `bookmark_id`
HAVING count > 1
Not everyone is going to have the skills or time to do that though, and it might be easy enough to do the equivalent in the browser add-on directly, from a link on the toolbar drop down and/or the config page, just throw up a list of links that are found more than once with their titles and folders and that’s enough to hunt them down and fix them.
If it was fancy, it would have a check box beside each dupe to flag it as desired and hide it from subsequent searches. But bells and whistles and all that, enough just to provide a list like this query provides (which on the the server end not the client end).
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (3 by maintainers)
Top GitHub Comments
@jd666 Ah, I understand. The question was whether floccus could simply list duplicates, which wouldn’t delete them directly, of course. But in the interest of doing one thing and doing it well, I think letting other extensions handle this should be fine. What do you think @bernd-wechner ?
Mmh. while this seems to be a useful feature, I’m not sure it is essential to syncing bookmarks. A quick search yielded the following extension which seems to provide the functionality you’re looking for: https://addons.mozilla.org/en-US/firefox/addon/bookmark-deduplicator/