From 00361f2bf9da7bb8244445eae2bcee5487c809d1 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sat, 27 Feb 2016 10:55:02 -0400 Subject: Support --metadata fieldnumber etc to match ranges of numeric values. Similarly (well, for free), support preferred content expressions like metadata=fieldnumber --- doc/git-annex-matching-options.mdwn | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'doc/git-annex-matching-options.mdwn') diff --git a/doc/git-annex-matching-options.mdwn b/doc/git-annex-matching-options.mdwn index 34cc05c6a..d94c0faf1 100644 --- a/doc/git-annex-matching-options.mdwn +++ b/doc/git-annex-matching-options.mdwn @@ -115,6 +115,15 @@ file contents are present at either of two repositories. matches the glob. The values of metadata fields are matched case insensitively. +* `--metadata fieldnumber` +* `--metadata field<=number` / `--metadata field>=number` + + Matches only files that have a metadata field attached with a value that + is a number and is less than or greater than the specified number. + + (Note that you will need to quote the second parameter to avoid + the shell doing redirection.) + * `--want-get` Matches files that the preferred content settings for the repository -- cgit v1.2.3