跳到主要内容

数据集命令: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 退出)

dataset list

创建数据集: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,继续上传

dataset create