Command-line tool
tag
brew/tag
Checked 25 Oct 2026, 21:09 UTC · Listing refreshed from Homebrew, winget, npm, Scoop and cargo; npm packages checked against OSV.dev
Manipulate and query tags on macOS files
At a glance
- Type
- Command-line tool
- Install on
- macOS
- Last checked
- 25 Oct 2026, 21:09 UTC
Install it
macOS
brew install tag
Add tags to a file
tag -a tag_name1,tag_name2,... path/to/file
Remove a tag
tag -r tag_name path/to/file
Remove all tags from a file
tag -r \* path/to/file
Related command-line tools
- flvmeta
Manipulate Adobe flash video files (FLV) - mpgtx
Toolbox to manipulate MPEG files - trdsql
CLI tool that can execute SQL queries on CSV, LTSV, JSON, YAML and TBLN - pdfly
CLI tool to extract (meta)data from PDF and manipulate PDF files - e2tools
Utilities to read, write, and manipulate files in ext2/3/4 filesystems - iproute2mac
CLI wrapper for basic network utilities on macOS - ip command - macchanger
Change your mac address, for macOS - fonttools
Library for manipulating fonts
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents