Skip to content
This repository has been archived by the owner on Dec 5, 2019. It is now read-only.
/ has-tags Public archive

Command line utility for testing Mavericks tags

License

Notifications You must be signed in to change notification settings

jspahrsummers/has-tags

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

has-tags

has-tags is a small command line utility for OS X Mavericks that tests whether a file or folder matches a set of tags.

Installation

make
[sudo] make install

Usage

has-tags path tag [tag ...]

This tests that path has all of the given tags applied to it. The program will exit with code 0 if the path matches, or a non-zero code if it doesn't.

Only one path can be specified at a time. Each tag is case-sensitive.

Example

has-tags README.md Red && echo "This README is totes red"

To find all files matching a set of tags within a folder:

find . -exec has-tags {} Red Green Blue \; -print

About

Command line utility for testing Mavericks tags

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages