improve metadata documentation

This commit is contained in:
Joey Hess 2014-03-26 16:55:29 -04:00
parent 372adab812
commit dcf4136340
Failed to extract signature
3 changed files with 9 additions and 6 deletions

View file

@ -86,3 +86,5 @@ metadata c.txt
num=3 num=3
ok ok
"""]] """]]
> [[fixed|done]]; documentation improved --[[Joey]]

View file

@ -711,8 +711,9 @@ subdirectories).
* `metadata [path ...] [-s field=value -s field+=value -s field-=value ...] [-g field]` * `metadata [path ...] [-s field=value -s field+=value -s field-=value ...] [-g field]`
Each file can have any number of metadata fields attached to it, The content of a file can have any number of metadata fields
which each in turn have any number of values. attached to it to describe it. Each metadata field can in turn
have any number of values.
This command can be used to set metadata, or show the currently set This command can be used to set metadata, or show the currently set
metadata. metadata.

View file

@ -1,7 +1,7 @@
git-annex allows you to store arbitrary metadata about files stored in the git-annex allows you to store arbitrary metadata about the content of files
git-annex repository. The metadata is stored in the `git-annex` branch, and stored in the git-annex repository. The metadata is stored in the
so is automatically kept in sync with the rest of git-annex's state, such `git-annex` branch, and so is automatically kept in sync with the rest of
as [[location_tracking]] information. git-annex's state, such as [[location_tracking]] information.
Some of the things you can do with metadata include: Some of the things you can do with metadata include: