git-annex-shell transferinfo command

TODO: Use this when running sendkey, to feed back transfer info from the
client side rsync.
This commit is contained in:
Joey Hess 2012-09-21 16:23:25 -04:00
parent 34ca1d698c
commit 77af38ec6c
5 changed files with 104 additions and 24 deletions

View file

@ -46,6 +46,15 @@ first "/~/" or "/~user/" is expanded to the specified home directory.
This runs rsync in server mode to transfer out the content of a key.
* transferinfo directory key uuid [file]
This is typically run at the same time as sendkey is sending a key
to the remote with the specified uuid.
It reads lines from standard input, each giving the number of bytes
that have been received so far. This is optional, but is used to update
progress information for the transfer of the key.
* commit directory
This commits any staged changes to the git-annex branch.