![]() ![]() For compatibility with Finder, tags are compared in a case-insensitive manner.A list operation will default to the current directory if no directory is given.If no operation selector is given, the operation will default to list.See see the synopsis above, or output from help. All of the options have a short version, in fact. The operation selector -add, -remove, -set, -match, -list, -find, or -usage may be abbreviated as -a, -r, -s, -m, -l, -f, or -u respectively.If a directory is supplied, but neither of -enter or -recursive, then the operation will apply to the directory itself, rather than to its contents. The -all, -enter, and -recursive options apply to -add, -remove, -set, -match, and -list, and control whether hidden files are processed and whether directories are entered and/or processed recursively.Note that directories can be tagged as well, so directories may be specified instead of files.These are provided as separate parameters. Wherever a "file" is expected, a list of files may be used instead.An empty tag expression '' will match only files with no tags. For match, find, usage, and remove, a tag name of '*' is the wildcard and will match any tag.Because the comma is used to separate tag names, it may not be used in tags (we don't support escaping that comma yet).Tag names may include spaces, but the entire tag list must be provided as one parameter: "tag1,a multiword tag name,tag3".Wherever a "tagname" is expected, a list of tags may be provided.This will install tag at /usr/local/bin/tag and the man page at /usr/local/share/man/man1/tag.1 Advanced Usage The add operation adds one or more tags to the specified files without modifying any tags already there. ![]() network Find tagged files in home local network filesystems local Find tagged files in home local filesystems home Find tagged files in user home directory 0 | -nul Terminate lines with NUL (\0) for use with xargs -0 p | -slash Terminate each directory name with a slash G | -no-garrulous Display tags comma-separated after filename (default) g | -garrulous Display tags each on own line (list, find, match) T | -no-tags Turn off tags display in output (list) t | -tags Turn on tags display in output (find, match) N | -no-name Turn off filename display in output (list, find, match) n | -name Turn on filename display in output (default) R | -recursive Recursively process directories e | -enter Enter/enumerate directories provided A | -all Display invisible files while enumerating is a comma-separated list of tag names use * to match/find any tag. Find all files with tags, limited to paths if present Tag - A tool for manipulating and querying file tags. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |