nirmal
nirmal

Reputation: 107

azure databricks workspace ls from conda environment

Hi I am trying to list the notebooks from my local windows machine using git bash. I have configured the databricks-cli and I can list the workspace.

$databricks workspace ls
dev
prod

I can also see what is inside dev folder.

$databricks workspace ls "//dev"
feature
hotfix

But When I try to see what is inside feature, I am receiving the below error.

$databricks workspace ls "//dev//feature"
Error: b'{"error_code":"RESOURCE_DOES_NOT_EXIST","message":"Path (//dev//feature) doesn\'t exist."}'

I don't get how to mention the subfolder. Could someone please help to resolve this?

Upvotes: 1

Views: 632

Answers (1)

CHEEKATLAPRADEEP
CHEEKATLAPRADEEP

Reputation: 12788

This is a known issue with Git Bash, I would suggest you to use command prompt (CMD) to see subfolders.

Command prompt (CMD): databricks workspace ls /DatabricksLab/DBLABS

enter image description here

Upvotes: 1

Related Questions