Search code examples
azureazure-data-lakeazure-cli

Creating folders in Azure DataLake gen 2 with Azure CLI


Is it possible to create a folder in Azure DataLake gen 2 with Azure CLI?

Something like with this code:

dls fs create --account my-storage-account --folder  --path my-folder

Or are there some other tools which could help to automate creation of DataLake gen2 with folders and role assignments?


Solution

  • You could know the tools limits for now is not supported from this doc: Programming interfaces and this Known issues.

    enter image description here

    enter image description here

    Fro now the tools you could use:

    1. AzCopy v10(Earlier versions of AzCopy such as AzCopy v8.1, are not supported)
    2. Azure Storage Explorer
    3. Azure Data Lake Store REST API