NandiniN
Databricks Employee
Databricks Employee

Hello @Keval Shah​ .

The import of dbutils is not explicitly required. (https://docs.databricks.com/dev-tools/databricks-utils.html#file-system-utility-dbutilsfs)

You can use the steps below to copy the file (https://docs.databricks.com/dev-tools/databricks-utils.html#file-system-utility-dbutilsfs)

dbutils.fs.cp("/FileStore/old_file.txt", "/tmp/new/new_file.txt") to copy the file.

I just listed dbutils.fs.ls("/mnt") and it works fine for a python notebook.

Hope this helps.

Thanks & Regards,

Nandini