From 005dceadc0f066d5d25c5a6df77c3df6301d872d Mon Sep 17 00:00:00 2001 From: Kaelan Date: Wed, 11 Dec 2024 14:12:04 -0500 Subject: [PATCH] tag: add page (#15124) Co-authored-by: Wiktor Perskawiec Co-authored-by: K.B.Dharun Krishna --- pages/osx/tag.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 pages/osx/tag.md diff --git a/pages/osx/tag.md b/pages/osx/tag.md new file mode 100644 index 0000000000..8ccdec55ad --- /dev/null +++ b/pages/osx/tag.md @@ -0,0 +1,20 @@ +# tag + +> Edit tags on Mac OS X files (10.9 Mavericks and above). +> More information: . + +- 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}}`