1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-07 18:15:24 +02:00
tldr/pages/osx/tag.md
Kaelan 005dceadc0
tag: add page (#15124)
Co-authored-by: Wiktor Perskawiec <git@spageektti.cc>
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2024-12-11 20:12:04 +01:00

395 B

tag

Edit tags on Mac OS X files (10.9 Mavericks and above). More information: https://github.com/jdberry/tag/.

  • Add tags to a file:

tag --add {{tag_name1,tag_name2,...}} {{path/to/file}}

  • Remove a tag:

tag --remove {{tag_name}} {{path/to/file}

  • Remove all tags from a file:

tag --remove \* {{path/to/file}}

  • Show all files with a given tag:

tag --match {{tag_name}}