diff --git a/content/docs/command-reference/update.md b/content/docs/command-reference/update.md index 9b8157707e..78b66e45c7 100644 --- a/content/docs/command-reference/update.md +++ b/content/docs/command-reference/update.md @@ -6,8 +6,8 @@ repositories, and the corresponding import stage `.dvc` files. ## Synopsis ```usage -usage: dvc update [-h] [-q | -v] [--rev ] [-R] - targets [targets ...] +usage: dvc update [-h] [-q | -v] [--rev ] [-R] [--to-remote] + [-r ] [-j ] targets [targets ...] positional arguments: targets Import stage .dvc files to update. Using -R, directories @@ -49,6 +49,20 @@ $ dvc update --rev master directory and its subdirectories for import stage `.dvc` files to inspect. If there are no directories among the targets, this option is ignored. +- `--to-remote` - update the import `.dvc` file and + [transfer](/doc/command-reference/import-url#example-import-straight-to-the-remote) + the new data directly to remote storage (the default one unless `-r` is used). + No changes are done in the workspace. Use `dvc pull` to get the + data locally. + +- `-r `, `--remote ` - name of the + [remote storage](/doc/command-reference/remote) (can only be used with + `--to-remote`). + +- `-j `, `--jobs ` - parallelism level for DVC to download data + from the source. The default value is `4 * cpu_count()`. For SSH remotes, the + default is `4`. Using more jobs may speed up the operation. + - `-h`, `--help` - prints the usage/help message, and exit. - `-q`, `--quiet` - do not write anything to standard output. Exit with 0 if no