add setkey subcommand

And finished implementing move --to
This commit is contained in:
Joey Hess 2010-10-25 20:19:08 -04:00
parent a0e8ba37c6
commit fec9f611df
5 changed files with 75 additions and 37 deletions

View file

@ -118,11 +118,20 @@ Many git-annex subcommands will stage changes for later `git commit` by you.
* dropkey [key ...]
Drops the cached data for the specified keys from this repository.
Drops the annexed data for the specified keys from this repository.
This can be used to drop content for arbitrary keys, which do not need
to have a file in the git repository pointing at them.
* setkey file
Sets the annxed data for a key to the content of the specified file,
and then removes the file.
Example:
git annex setkey --key=1287765018:3 /tmp/file
# OPTIONS
* --force