Skip to content

Feature: Bulk tag management (delete, merge, search-by-tag) #26

@bwl

Description

@bwl

Use Case

Managing tags at scale requires bulk operations. Currently:

  • No forest tags delete <tag> — have to find every node and remove one-by-one
  • No tag-based search in remote mode (metadata search is local-only)
  • forest tags rename exists but forest tags delete does not

We just did a 220-tag cleanup that required exporting all nodes, regex-parsing, and individually removing tags from 125 nodes. This should be a single command.

Current Workaround

Export JSON, parse with scripts, call forest tags remove <node> <tag> in a loop. Fragile and slow.

Proposed Solution

  • forest tags delete <tag> — remove a tag from ALL nodes that have it
  • forest tags search <tag> — list all nodes with a given tag (works remotely)
  • forest tags merge <old> <new> — rename + deduplicate (rename exists, merge handles conflicts)
  • forest search --tags <tag> working in remote mode (metadata search over API)

Context

  • Forest node: d653 (roadmap)
  • Motivated by: tag cleanup session where 125 node-tag pairs had to be removed individually

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions