<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Delete folder using Databricks CLI in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/delete-folder-using-databricks-cli/m-p/80575#M36070</link>
    <description>&lt;P&gt;Thank you for the help,&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/110502"&gt;@szymon_dybczak&lt;/a&gt;, it worked!&lt;/P&gt;</description>
    <pubDate>Thu, 25 Jul 2024 13:42:15 GMT</pubDate>
    <dc:creator>joaogilsa</dc:creator>
    <dc:date>2024-07-25T13:42:15Z</dc:date>
    <item>
      <title>Delete folder using Databricks CLI</title>
      <link>https://community.databricks.com/t5/data-engineering/delete-folder-using-databricks-cli/m-p/80573#M36068</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am trying to delete a folder and its content using databricks cli, but I'm getting the following error:&lt;/P&gt;&lt;P&gt;databricks workspace delete /Workspace/Users/XXX/XXX --profile DEFAULT --recursive true&lt;BR /&gt;Error: expected to have the absolute path of the notebook or directory&lt;/P&gt;&lt;P&gt;I have tried deleting a single file, and it's working. It's only when I try to delete a folder that it fails.&lt;/P&gt;&lt;P&gt;Thank you in advance!&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jul 2024 13:22:43 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/delete-folder-using-databricks-cli/m-p/80573#M36068</guid>
      <dc:creator>joaogilsa</dc:creator>
      <dc:date>2024-07-25T13:22:43Z</dc:date>
    </item>
    <item>
      <title>Re: Delete folder using Databricks CLI</title>
      <link>https://community.databricks.com/t5/data-engineering/delete-folder-using-databricks-cli/m-p/80574#M36069</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/113710"&gt;@joaogilsa&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Delete true after recursive and it should work&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":grinning_face:"&gt;😀&lt;/span&gt; Look at below help output. It looks like that recursive it's already boolean flag, so when you add true I think it has problem with parsing:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Delete a workspace object.
  
  Deletes an object or a directory (and optionally recursively deletes all
  objects in the directory). * If path does not exist, this call returns an
  error RESOURCE_DOES_NOT_EXIST. * If path is a non-empty directory and
  recursive is set to false, this call returns an error
  DIRECTORY_NOT_EMPTY.
  
  Object deletion cannot be undone and deleting a directory recursively is not
  atomic.

  Arguments:
    PATH: The absolute path of the notebook or directory.

Usage:
  databricks workspace delete PATH [flags]

Flags:
  -h, --help        help for delete
      --json JSON   either inline JSON string or @path/to/file.json with request body (default JSON (0 bytes))
      --recursive   The flag that specifies whether to delete the object recursively.&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 25 Jul 2024 13:42:10 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/delete-folder-using-databricks-cli/m-p/80574#M36069</guid>
      <dc:creator>szymon_dybczak</dc:creator>
      <dc:date>2024-07-25T13:42:10Z</dc:date>
    </item>
    <item>
      <title>Re: Delete folder using Databricks CLI</title>
      <link>https://community.databricks.com/t5/data-engineering/delete-folder-using-databricks-cli/m-p/80575#M36070</link>
      <description>&lt;P&gt;Thank you for the help,&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/110502"&gt;@szymon_dybczak&lt;/a&gt;, it worked!&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jul 2024 13:42:15 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/delete-folder-using-databricks-cli/m-p/80575#M36070</guid>
      <dc:creator>joaogilsa</dc:creator>
      <dc:date>2024-07-25T13:42:15Z</dc:date>
    </item>
    <item>
      <title>Re: Delete folder using Databricks CLI</title>
      <link>https://community.databricks.com/t5/data-engineering/delete-folder-using-databricks-cli/m-p/80576#M36071</link>
      <description>&lt;P&gt;Cool, glad that it worked &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jul 2024 13:43:00 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/delete-folder-using-databricks-cli/m-p/80576#M36071</guid>
      <dc:creator>szymon_dybczak</dc:creator>
      <dc:date>2024-07-25T13:43:00Z</dc:date>
    </item>
  </channel>
</rss>

