Bug Report: Can't remove some special tag
MacBook Pro, macOS High Sierra (10.13.6), Bugs
MacBook Pro, macOS High Sierra (10.13.6), Bugs
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.
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.
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.
Bug Report: Can't remove some special tag