数据集命令:dataset
列出所有数据集:list
入口:
bohr dataset list
概要:
Usage:
bohr dataset list [flags]
Aliases:
list, ls
Flags:
--csv Output in CSV format
-h, --help help for list
--json Output in JSON format
--yaml Output in YAML format
案例:
$ bohr dataset list --json # 以json的格式查看所有的数据集
$ bohr dataset list # 查看所有数据集 (按 Ctrl+C 退出)
创建数据集:create
在传输过程中如果发生了失败,可以通过重新执行相同的命令,并在根据提示输入y即可续传。
入口:
bohr dataset create
概要:
Usage:
bohr dataset create [flags]
Examples:
$ bohr dataset create
Flags:
-m, --comment string dataset description
-h, --help help for create
-l, --lp string file local path
-n, --name string dataset name
-p, --path string dataset path
-i, --pid int project id
参数说明:
参数 | 缩写 | 说明 | 必填 |
---|---|---|---|
--comment | -m | 数据集描述 | 否 |
--name | -n | 数据集名字 | 是 |
--path | -p | 数据集路径 | 是 |
--pid | -i | 项目id | 是 |
--lp | -l | 上传文件的本地路径 | 是 |
案例:
$ bohr dataset create -n bigfile -p bigfile -i 26611 -l "/Users/dp/Downloads/test"
# 将test文件夹上传到bigfile数据集
# 并在上传过程中打断创建
# 重新输入相同命令,并输入y,继续上传