Hi,
Is there a way to remove all tags of an item in Finder with a BTT command?
I already tried to create a shortcut with Siri shortcuts apps, but it didn't work.
That is what the shortcut looks like:

Does someone have any idea or suggestions?
Thanks
you can use the xattr command line utility for that:
xattr -d com.apple.metadata:_kMDItemUserTags /path/to/file
Sorry for asking, but I'm not really familiar with this kind of thing. How should I use this? In the shortcut?
Is that shell script? Or is it for an Apple script?
how do you want to trigger it?
I think the easiest way would be with a right click from the context menu.
Hey @Andreas_Hegenberg, I don't know if you have forgotten about me or are still looking for a solution. 
So here is a little reminder, in case you have forgotten.
ah sorry I forgot.
You could make use of BTT's Finder Extension. Make sure to use the latest BTT for this. You would need to set it up like this via the "Custom Finder Context Menu Items" in "Automations, Named & Other Triggers":
This would be the Java Script to delete the selected files meta data:
async function removeTags() {
let paths = await get_string_variable("BTTFinderContextMenuSelectedItemPaths");
let splitPaths = paths.split(";;");
for(path of splitPaths) {
await runShellScript({script: `/usr/bin/xattr -c "${path}"`});
}
return paths;
}
It would show up like this:
Thanks @Andreas_Hegenberg, I will give it a go tomorrow.
Hey @Andreas_Hegenberg,
I finally had time to check that out.
However, I couldn't find where and how to activate the extended context menu in system settings. Where exactly is it to activate?
if you are on sequoia you don’t need to do it via system settings, instead click the activation button in BTT (that shows in the right sidebar when the „custom finder context menu“ is selected)
Ah ok. I already did that, and because nothing happened, I thought I had to activate it otherwise. So it seems to be already activated, right?
But I still don't see it when I right-click on files. 
if nothing is showing up, it’s not yet active. It would at least show an error message if it was active.
Some users reported that it was necessary to restart Finder on macOS Sequoia in order to get it to load the extensions…
1 Like
Yes, that did the trick.
Thank you very much
I have already set up 3 context menu items and added also icons to them. Then I noticed that the icons are always black, so they are not easy to see. It would be nice if there were an option to change that.
2 of the icons are in a submenu, and I added also an icon to the submenu Folder, but it does not show up. Do I have to do something to see that?
Hey,
After some trial and error, I created the icons and loaded them to BTT.
But it seems that the icons of the submenu items don't let them scale. It doesn't matter what size I enter. I also tried to set every size to 0, but nothing seems to be changing.
The icons look like squished:
that's true, currently the icons are always 30x30, I'll fix that
1 Like
Oh, ok. I thought I need to change something.
Yeah, that would be nice.
Hey @Andreas_Hegenberg,
I just noticed another issue with the Context menu. The 2 items in the Bills submenu are shortcuts that take the selected PDF and pass it to the next step, which is to add it to a Mail. When I run them by right-clicking on finder, they work fine. However, when I run them with the BTT context menu, only the main part works, and the PDF is not added to the mail.
Any suggestions for that?
only a finder context menu gets the currently selected files, a btt context menu doesn’t know about the context.
Unfortunately it seems like Finder only allows one size of icons
Ah, that is too bad.
But now I know how it works and what items I can use.
Again, what was the acceptable size for the submenu icons? 32x32px?