MacOS – How to remove Finder tags from all files in a folder and its subfolders

finder-tagmacos

How can I remove Finder tags from all files in a given folder and in its subfolders?

Best Answer

You can use Homebrew's tag:

brew install tag
tag -r /path/*

You can combine this with a find command to find specific files/folders + recursive.

find . -exec tag -r {} \;  -print