hammerspoon2-docs
    Preparing search index...

    Function removeTags

    • Remove specific Finder tags from a file or directory. This function is only available on macOS Tahoe (26) or later. Tags not currently present are silently ignored.

      Parameters

      • path: string

        Path to the file or directory. ~ is expanded.

      • tagsToRemove: string[]

        Array of tag name strings to remove.

      Returns boolean

      true on success, false on failure.