cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results for 
Search instead for 
Did you mean: 

How to copy file from UC volume to external location folder

zmsoft
Contributor
Hi there, How to copy file from UC volume to external location folder Thanks&Regards, zmsoft
1 REPLY 1

Advika_
Databricks Employee
Databricks Employee

Hello @zmsoft!

To copy a file from a UC volume to an external location, you can use:

 

dbutils.fs.cp(
"UC_volume_path",
"external_location_path"
)

 

Ensure the external location is preconfigured in Unity Catalog and you have the necessary permissions.