0
votes

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?

1
Please try to run the command line in windows CMD, it seams that git bash cannot recogizne the path. - Jim Xu
If it is useful for you, could you please accept it as an answer? It may help more people who have similar issue. - CHEEKATLAPRADEEP-MSFT

1 Answers

0
votes

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