nb
nb copied to clipboard
Duplicate bookmark identification
Hi guys
I have started using this to manage my bookmarks. Syncing it with GitHub provide a great way to share and store such data.
Is it possible to identity duplicate bookmarks and warn the user before adding it ? Just a check for url will do.
+1
That makes sense. It should be possible to create a plugin named something like bookmark-duplicate-checker.nb-plugin
that uses nb search
to check for existing files containing the URL and then displays a confirmation prompt to the user. I'll have to think about how to have it hook into the bookmark or add function. It might be useful to implement it in stages, first as a manually-runnable subcommand. I'll keep this in mind and work toward this.
Been awhile. What's the word?
nb
becomes more headache than help to me if it affords no automatic mechanism for preventing me from unwittingly adding the same bookmarks multiple times.
@seconddayout I’ve added dupe detection within the target folder, which in most cases is a notebook root. I kept the scope constrained for now to see how it goes. This change is in the latest versions in the repo.
@xwmx, dope! Thanks; 'preciate the prompt action and status update. I'll check it out soon.
Thanks @xwmx