Skip to content

Commit

Permalink
gdrive: Shared drives support
Browse files Browse the repository at this point in the history
  • Loading branch information
maxhora committed Jan 11, 2020
1 parent 6ce3792 commit 295dae8
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions public/static/docs/command-reference/remote/add.md
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,24 @@ On successful access token generation, token data will be cached in git ignored
directory with path `.dvc/tmp/gdrive-user-credentials.json`. Do not share token
data with anyone else to prevent unauthorized access to your Google Drive.

#### Shared drives support

You need to obtain `id` of your shared drive directory to use it as part of URL
passed to DVC. `id` can be found in your web browser address bar when shared
drive is opened. For example, for the URL

```dvc
https://drive.google.com/drive/folders/0AIac4JZqHhKmUk9PDA
```

the `id` will be equal to `0AIac4JZqHhKmUk9PDA`.

Use obtained `id` in remote's URL:

```dvc
$ dvc remote add myremote gdrive://0AIac4JZqHhKmUk9PDA/my-dvc-root
```

</details>

<details>
Expand Down

0 comments on commit 295dae8

Please sign in to comment.