Items CLI
  • Dark
    Light
  • PDF

Items CLI

  • Dark
    Light
  • PDF

For a full command list go here

Prep

dlp shell #open the dtlpy shell
projects checkout --project-name "my project" #check out to a specific project
datasets checkout --dataset-name "my dataset"  #check out to a specific dataset

Upload Items

In this example, all Items are uploading from the folder "5_dogs" located on the local disk (C:).

Items upload --local-path "C:\5_dogs"

Tip

By using the --remote-path flag in the command, you may upload to a specific folder in your dataset.
For example, "dogs folder" will be created and items will be located in the dataset:
/dogs folder/5_dogs

items upload --local-path "C:\5_dogs" --remote-path "/dogs folder"


Download Items

Download a specific folder from your dataset using the --remote-path flag in the command

items download --local-path "C:\5_dogs" --remote-path "/dogs folder/5_dogs"