table of contents
LOCALSEARCH-TAG(1) | LocalSearch manual | LOCALSEARCH-TAG(1) |
NAME¶
localsearch-tag - Add, remove and list tags.
SYNOPSIS¶
localsearch tag FILE1 [FILE2 ...] [-l <limit>] [-o <offset>] [-r] localsearch tag -t [[TAG1] [TAG2] ...] [-s] [-r] localsearch tag -a <TAG> [-e <description>] localsearch tag -d <TAG>
DESCRIPTION¶
List tags for local files or by the tag labels themselves if -t is used.
It’s also possible to manage tags with the -a and and -d options.
The FILE argument can be either a local path or a URI. It also does not have to be an absolute path.
OPTIONS¶
-t, --list
The TAG arguments are optional. If no TAG argument is specified, all tags are listed. If one or more TAGs are given, either matching tags are listed (OR condition). For example, this will match any tags named either foo, bar or baz:
$ localsearch tag -t foo bar baz
-s, --show-files
-a, --add=TAG
-d, --delete=TAG
-e, --description=STRING
-l, --limit=N
-o, --offset=N
-n, --and-operator
$ localsearch tag -s -t sliff sloff
Should show files in the database that have both the sliff and sloff tags.
SEE ALSO¶
localsearch search(1), localsearch info(1).
09/16/2024 | 3.8.0 |