File size: 3,184 Bytes
76d9c4f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
---
title: vessl dataset
version: EN
---

### Overview

Run `vessl dataset --help` to view the list of commands, or `vessl dataset [COMMAND] --help` to view individual command instructions.

### Copy files within a dataset

<Note>This is not supported for externally sourced datasets.</Note>

```
vessl dataset copy [OPTIONS] NAME SOURCE DEST
```

| Argument | Description                    |
| -------- | ------------------------------ |
| `NAME`   | Dataset name                   |
| `SOURCE` | Source path within the dataset |
| `DEST`   | Destination file path within   |

| Option              | Description                            |
| ------------------- | -------------------------------------- |
| `-r`, `--recursive` | Required if source file is a directory |

### Create a dataset

```
vessl dataset create [OPTIONS] NAME
```

| Argument | Description  |
| -------- | ------------ |
| `NAME`   | Dataset name |

| Option                  | Description                               |
| ----------------------- | ----------------------------------------- |
| `-m`, `--description`   | Dataset description                       |
| `-e`, `--external-path` | AWS S3 or Google Cloud Storage bucket URL |
| `--aws-role-arn`        | AWS Role ARN to access S3                 |
| `--enable-versioning`   | Enable versioning                         |
| `--version-path`        | Versioning bucket path                    |

### Delete a file within a dataset

<Warning>This is not supported for externally sourced datasets.</Warning>

```
vessl dataset delete-file [OPTIONS] NAME PATH
```

| Argument | Description  |
| -------- | ------------ |
| `NAME`   | Dataset name |
| `PATH`   | File path    |

| Option              | Description                     |
| ------------------- | ------------------------------- |
| `-r`, `--recursive` | Required if file is a directory |

### Download dataset files

```
vessl dataset download [OPTIONS] NAME SOURCE DEST
```

| Argument | Description                    |
| -------- | ------------------------------ |
| `NAME`   | Dataset name                   |
| `SOURCE` | Source path within the dataset |
| `DEST`   | Local destination path         |

### List all datasets

```
vessl dataset list
```

### List dataset files

```
vessl dataset list-files [OPTIONS] NAME
```

| Argument | Description  |
| -------- | ------------ |
| `NAME`   | Dataset name |

| Option              | Description                               |
| ------------------- | ----------------------------------------- |
| `-p`, `--path`      | Directory path to list (defaults to root) |
| `-r`, `--recursive` | List files recursively                    |

### View information on the dataset

```
vessl dataset read [OPTIONS] NAME
```

| Argument | Description  |
| -------- | ------------ |
| `NAME`   | Dataset name |

### Upload files to a dataset

```
vessl dataset upload NAME SOURCE DEST
```

| Argument | Description                         |
| -------- | ----------------------------------- |
| `NAME`   | Dataset name                        |
| `SOURCE` | Local source path                   |
| `DEST`   | Destination path within the dataset |