When I create a notebook in Databricks workplace, where is located?

Mohammad Saber 586 Reputation points
2022-09-21T09:37:05.623+00:00

When I create a notebook in Databricks workplace, I can get its Filepath by right clicking on the notebook name and clicking on "Copy file path".

However, I don't understand well where it is located. Could you give me some insight?

Also, can I get a list of all notebooks' filepath using "%fs ls" command?

Azure Databricks
Azure Databricks
An Apache Spark-based analytics platform optimized for Azure.
1,916 questions
0 comments No comments
{count} votes

Accepted answer
  1. PRADEEPCHEEKATLA-MSFT 76,921 Reputation points Microsoft Employee
    2022-09-22T05:59:06.93+00:00

    Hello @Mohammad Saber ,

    Thanks for the question and using MS Q&A platform.

    Unfortuantely, you cannot use %fs ls or dbutils.fs.ls to get the list of all notebooks.

    Note: You can get what you need via the the REST API or Databricks CLI.

    Hope this will help. Please let us know if any further queries.

    ------------------------------

    • Please don't forget to click on 130616-image.png or upvote 130671-image.png button whenever the information provided helps you. Original posters help the community find answers faster by identifying the correct answer. Here is how
    • Want a reminder to come back and check responses? Here is how to subscribe to a notification
    • If you are interested in joining the VM program and help shape the future of Q&A: Here is jhow you can be part of Q&A Volunteer Moderators

0 additional answers

Sort by: Most helpful