using dbutils (dbutils.fs.rm in a databricks Job) azure databricks

Viewed 101

https://docs.databricks.com/dev-tools/databricks-utils.html

I am trying to use dbutils.fs.rm in a job for Azure on a dbfs folder. It's actually a big pain and the dbutils.fs.rm resolves all the issues but seems to only work in a notebook.

The issues I am having are dealing with sub folders with files. I want an easy way within python to delete all a folder, and all sub content.

0 Answers
Related