Databricks Magic Command
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2024 01:14 PM - edited 07-02-2024 01:32 PM
I am trying few commands
what is the equivalent magic command of
Actually I am looking how to use magic commands in same way as dbutils . For Instance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2024 01:23 PM
@Wolverine Try %fs rm -r sampledir
to delete recursively
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2024 01:30 PM
Ok Actually I am looking how to use magic commands in same way as dbutils . For Instance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2024 01:25 PM - edited 07-02-2024 01:26 PM
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