I am running Databricks Community Edition and I would like to delete files from the following mnt directory
/mnt/driver-daemon/jars
I run the dbutils command:
dbutils.fs.rm('/mnt/driver-daemon/jars/', True)
However, when I run the command I get the following message (which basically means the folder hasn't been deleted)
Out[1]: False
Can someone let me know where I going wrong? Ideally, I would like to delete all the files in the jars folder, however, if someone could just help showing how to delete the folder, that will suffice.
dbutils.fs.rmjust fine. What happens if you run%fs rm -r /mnt/driver-daemon/jars/? - David Gibson