move, copy: Support --batch.
This commit is contained in:
parent
8526cd7c92
commit
2eb6309d3e
6 changed files with 49 additions and 10 deletions
|
@ -75,6 +75,19 @@ Copies the content of files from or to another remote.
|
|||
The [[git-annex-matching-options]](1)
|
||||
can be used to specify files to copy.
|
||||
|
||||
* `--batch`
|
||||
|
||||
Enables batch mode, in which lines containing names of files to copy
|
||||
are read from stdin.
|
||||
|
||||
As each specified file is processed, the usual progress output is
|
||||
displayed. If a file's content does not need to be copied or it
|
||||
is not an annexed file, a blank line is output in response instead.
|
||||
|
||||
Since the usual output while copying a file is verbose and not
|
||||
machine-parseable, you may want to use --json in combination with
|
||||
--batch.
|
||||
|
||||
* `--json`
|
||||
|
||||
Enable JSON output. This is intended to be parsed by programs that use
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue