Bug Report: Can't remove some special tag

I think this is a bug, I can't delete some tag in my Finder.


I have tried to delete some files located at "/Users/Park/Library/Preferences/

com.apple.finder.plist", and relaunch my Finder, but it doesn't help.


Can guys give me some advice ?


User uploaded file

MacBook Pro, macOS High Sierra (10.13.6), Bugs

Posted on Sep 14, 2018 11:20 PM

Reply
Question marked as Top-ranking reply

Posted on Oct 11, 2018 10:55 PM

Thanks for all of your reply. I finally solve this problem when I delete this tag on My iPhone. It seems that Apple sync the tag information to the iCloud.


On my iPhone's "File" app, I have a file with this tag, So I can't delete this tag until I remove the tag from that file.

3 replies

Sep 15, 2018 11:10 AM in response to parksnow

When you create custom Finder tag names, they are placed in the order of creation in the following file:


~/Library/SyncedPreferences/com.apple.finder.plist


In Finder : Preferences : Tags, count the tag names starting with zero until you reach "x1-". Remember or write that value down. When you see the red n below, substitute this count value:


Launch Terminal, and perform the following:


# comment: change the directory to your Desktop

cd ~/Desktop

# comment: make a working copy of this .plist on your Desktop

cp ~/Library/SyncedPreferences/com.apple.finder.plist .

# comment: look inside the .plist with a pager

more com.apple.finder.plist

# comment: print out the dictionary item containing "x1-"

/usr/libexec/PlistBuddy -c "print :values:FinderTagDict:value:FinderTags:n" ./com.apple.finder.plist

Dict {

p = true

n = x1-

}

# comment: test removing this tag name dictionary item from its array

/usr/libexec/PlistBuddy -c "delete :values:FinderTagDict:value:FinderTags:n" ./com.apple.finder.plist

# comment: Look for it in the .plist

more com.apple.finder.plist

# comment: if the dictionary entry for the x1- tag name is gone, and nothing else is removed...

# comment: Then remove it from the main tag names .plist

/usr/libexec/PlistBuddy -c "delete :values:FinderTagDict:value:FinderTags:n" ~/Library/SyncedPreferences/com.apple.finder.plist

#comment: Check the Finder Preferences : Tags panel to see if x1- is actually gone.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Bug Report: Can't remove some special tag

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.