Witold
Databricks Partner

You could use shell commands, like

 

%sh rm -r sampledir

 

You need to check for the correct path before, I currently don't know where dbfs folders are exactly mounted