diff options
author | Joey Hess <joeyh@joeyh.name> | 2016-02-27 10:55:02 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2016-02-27 10:55:02 -0400 |
commit | 00361f2bf9da7bb8244445eae2bcee5487c809d1 (patch) | |
tree | 5236ede82937a35ae4e2ff94cbc1aa0619c420f6 /doc/git-annex-matching-options.mdwn | |
parent | f684572aef9d12cf0881ce6cfc053a87579182a3 (diff) |
Support --metadata field<number, --metadata field>number etc to match ranges of numeric values.
Similarly (well, for free), support preferred content expressions like
metadata=field<number and metadata=field>number
Diffstat (limited to 'doc/git-annex-matching-options.mdwn')
-rw-r--r-- | doc/git-annex-matching-options.mdwn | 9 |
1 files changed, 9 insertions, 0 deletions
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 field<number` / `--metadata field>number` +* `--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 |