Remove/Merge duplicate bookmark tag that has different case

User Help for Mozilla Firefox
Post Reply
b4ckerCrazyMit
Posts: 39
Joined: July 10th, 2022, 3:43 am
Location: Moz Office, SF, USA
Contact:

Remove/Merge duplicate bookmark tag that has different case

Post by b4ckerCrazyMit »

Is there anyway to merge/remove bookmark tag that has same name, but different case?

Like example PHP and php, they result the same, but it has 2 case saved on my bookmark manager, It's annoying, and I want it to be fixed if possible.

Thank you for any help/pointer!
User avatar
therube
Posts: 21703
Joined: March 10th, 2004, 9:59 pm
Location: Maryland USA

Re: Remove/Merge duplicate bookmark tag that has different c

Post by therube »

In Bookmarks Manager, can't you just highlight the dup'd entry & hit the DEL key?
Fire 750, bring back 250.
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball CopyURL+ FetchTextURL FlashGot NoScript
User avatar
dickvl
Posts: 54145
Joined: July 18th, 2005, 3:25 am

Re: Remove/Merge duplicate bookmark tag that has different c

Post by dickvl »

Are you using Sync to sync the bookmarks?
b4ckerCrazyMit
Posts: 39
Joined: July 10th, 2022, 3:43 am
Location: Moz Office, SF, USA
Contact:

Re: Remove/Merge duplicate bookmark tag that has different c

Post by b4ckerCrazyMit »

therube wrote:In Bookmarks Manager, can't you just highlight the dup'd entry & hit the DEL key?
I can't, it come back again, sadly. (but on 2nd try, it just gone... without being merged... f...)

WHAT. I LOST ALL MY TAG. AAAAAA:/

What a mess... I lost everything... Is there really no way to restore it? With this I need to re tag all my bookmark... man... :/

I think based on this, DELETING ISN'T and SHOULDN'T RECOMENDED ](*,) ](*,) ](*,) ](*,) ](*,) ](*,) ](*,) ](*,)
dickvl wrote:Are you using Sync to sync the bookmarks?

Yes I use sync, is that the main issue?
morat
Posts: 6404
Joined: February 3rd, 2009, 6:29 pm

Re: Remove/Merge duplicate bookmark tag that has different c

Post by morat »

There is a bookmarkbackups folder in the profile folder.

About bookmarkbackups folder
http://support.mozilla.org/questions/1005048

Regarding the bookmark tag issue, I would export bookmarks to a .html file, then globally change the case of all tags using a text editor like Vim, then remove all bookmarks in the app, then import bookmarks using the .html file.
User avatar
dickvl
Posts: 54145
Joined: July 18th, 2005, 3:25 am

Re: Remove/Merge duplicate bookmark tag that has different c

Post by dickvl »

Note that you can use "Organize -> Undo" to undo changes in the current session.
If you have closed and restart Firefox then this undo stack is lost.

You normally remove a tag by selecting this Tag folder in the left panel.
If you delete bookmarks in the right panel with this tag you should rem,move this tag.

Do both versions of the duplicate Tag show the same bookmarks list?
I do not know whether Tags are case sensitive (I would expect not, but I might be wrong).
b4ckerCrazyMit
Posts: 39
Joined: July 10th, 2022, 3:43 am
Location: Moz Office, SF, USA
Contact:

Re: Remove/Merge duplicate bookmark tag that has different c

Post by b4ckerCrazyMit »

morat wrote:There is a bookmarkbackups folder in the profile folder.

About bookmarkbackups folder
http://support.mozilla.org/questions/1005048

Regarding the bookmark tag issue, I would export bookmarks to a .html file, then globally change the case of all tags using a text editor like Vim, then remove all bookmarks in the app, then import bookmarks using the .html file.

Will it include the tag? I need the tag :/ Last time I remember, it only save folder, not tags.
dickvl wrote:Note that you can use "Organize -> Undo" to undo changes in the current session.
If you have closed and restart Firefox then this undo stack is lost.

You normally remove a tag by selecting this Tag folder in the left panel.
If you delete bookmarks in the right panel with this tag you should rem,move this tag.

Do both versions of the duplicate Tag show the same bookmarks list?
I do not know whether Tags are case sensitive (I would expect not, but I might be wrong).
I don't know the undo, but it's gone, I manually 1 by 1 tag it... it takes hour :/ at least I don't lost the bookmark

The duplicate tag only show once, and it's case sensitive, and it's annoying... only the query that isn't https://bugzilla.mozilla.org/show_bug.cgi?id=1421654

I think because the query, it cause problem on the bookmark manager, and the bookmark pop up... argh...
morat
Posts: 6404
Joined: February 3rd, 2009, 6:29 pm

Re: Remove/Merge duplicate bookmark tag that has different c

Post by morat »

The exported bookmarks.html file uses the TAGS attribute.
<DT><A HREF="http://www.mozillazine.org/" TAGS="Cowabunga"></A>
Vim example:

Code: Select all

:%s/ TAGS="\([^"]*\)"/ TAGS="\L\1"/
Changing case with regular expressions
http://vim.fandom.com/wiki/Changing_cas ... xpressions
Post Reply