az dls fs

(PREVIEW) Manage a Data Lake Store filesystem.

Commands

az dls fs access Manage Data Lake Store filesystem access and permissions.
az dls fs access remove-all Remove the access control list for a file or folder.
az dls fs access remove-entry Remove entries for the access control list of a file or folder.
az dls fs access set Replace the existing access control list for a file or folder.
az dls fs access set-entry Update the access control list for a file or folder.
az dls fs access set-owner Set the owner information for a file or folder in a Data Lake Store account.
az dls fs access set-permission Set the permissions for a file or folder in a Data Lake Store account.
az dls fs access show Display the access control list (ACL).
az dls fs append Append content to a file in a Data Lake Store account.
az dls fs create Creates a file or folder in a Data Lake Store account.
az dls fs delete Delete a file or folder in a Data Lake Store account.
az dls fs download Download a file or folder from a Data Lake Store account to the local machine.
az dls fs join Join files in a Data Lake Store account into one file.
az dls fs list List the files and folders in a Data Lake Store account.
az dls fs move Move a file or folder in a Data Lake Store account.
az dls fs preview Preview the content of a file in a Data Lake Store account.
az dls fs remove-expiry Remove the expiration time for a file.
az dls fs set-expiry Set the expiration time for a file.
az dls fs show Get file or folder information in a Data Lake Store account.
az dls fs test Test for the existence of a file or folder in a Data Lake Store account.
az dls fs upload Upload a file or folder to a Data Lake Store account.

az dls fs append

Append content to a file in a Data Lake Store account.

az dls fs append --account
--content
--path

Required Parameters

--account -n
Name of the Data Lake Store account.
--content
Content to be appended to the file.
--path
The path in the specified Data Lake Store account where the action should take place. In the format '/folder/file.txt', where the first '/' after the DNS indicates the root of the file system.

az dls fs create

Creates a file or folder in a Data Lake Store account.

az dls fs create --account
--path
[--content]
[--folder]
[--force]

Required Parameters

--account -n
Name of the Data Lake Store account.
--path
The path in the specified Data Lake Store account where the action should take place. In the format '/folder/file.txt', where the first '/' after the DNS indicates the root of the file system.

Optional Parameters

--content
Content for the file to contain upon creation.
--folder
Indicates that this new item is a folder and not a file.
--force
Indicates that, if the file or folder exists, it should be overwritten.

az dls fs delete

Delete a file or folder in a Data Lake Store account.

az dls fs delete --account
--path
[--recurse]

Required Parameters

--account -n
Name of the Data Lake Store account.
--path
The path in the specified Data Lake Store account where the action should take place. In the format '/folder/file.txt', where the first '/' after the DNS indicates the root of the file system.

Optional Parameters

--recurse
Indicates this should be a recursive delete of the folder.

az dls fs download

Download a file or folder from a Data Lake Store account to the local machine.

az dls fs download --account
--destination-path
--source-path
[--block-size]
[--buffer-size]
[--chunk-size]
[--overwrite]
[--progress-callback]
[--thread-count]

Required Parameters

--account -n
Name of the Data Lake Store account.
--destination-path
The local path where the file or folder will be downloaded to.
--source-path
The full path in the Data Lake Store filesystem to download the file or folder from.

Optional Parameters

--block-size
Size of a block, in bytes.
default value: 4194304
--buffer-size
Size of the transfer buffer, in bytes.
default value: 4194304
--chunk-size
Size of a chunk, in bytes.
default value: 268435456
--overwrite
Indicates that, if the destination file or folder exists, it should be overwritten.
--progress-callback
default value: <function _update_progress at 0x06E86ED0>
--thread-count
Parallelism of the download. Default: The number of cores in the local machine.

az dls fs join

Join files in a Data Lake Store account into one file.

az dls fs join --account
--destination-path
--source-paths
[--force]

Required Parameters

--account -n
Name of the Data Lake Store account.
--destination-path
The destination path in the Data Lake Store account.
--source-paths
The space-separated list of files in the Data Lake Store account to join.

Optional Parameters

--force
Indicates that, if the destination file already exists, it should be overwritten.

az dls fs list

List the files and folders in a Data Lake Store account.

az dls fs list --account
--path

Required Parameters

--account -n
Name of the Data Lake Store account.
--path
The path in the specified Data Lake Store account where the action should take place. In the format '/folder/file.txt', where the first '/' after the DNS indicates the root of the file system.

az dls fs move

Move a file or folder in a Data Lake Store account.

az dls fs move --account
--destination-path
--source-path
[--force]

Required Parameters

--account -n
Name of the Data Lake Store account.
--destination-path
The destination path in the Data Lake Store account.
--source-path
The file or folder to move.

Optional Parameters

--force
Indicates that, if the destination file or folder already exists, it should be overwritten and replaced with the file or folder being moved.

az dls fs preview

Preview the content of a file in a Data Lake Store account.

az dls fs preview --account
--path
[--force]
[--length]
[--offset]

Required Parameters

--account -n
Name of the Data Lake Store account.
--path
The path in the specified Data Lake Store account where the action should take place. In the format '/folder/file.txt', where the first '/' after the DNS indicates the root of the file system.

Optional Parameters

--force
Indicates that, if the preview is larger than 1MB, still retrieve it. This can potentially be very slow, depending on how large the file is.
--length
The amount of data to preview in bytes.
--offset
The position in bytes to start the preview from.

az dls fs remove-expiry

Remove the expiration time for a file.

az dls fs remove-expiry --account
--path

Required Parameters

--account -n
Name of the Data Lake Store account.
--path
The path in the specified Data Lake Store account where the action should take place. In the format '/folder/file.txt', where the first '/' after the DNS indicates the root of the file system.

az dls fs set-expiry

Set the expiration time for a file.

az dls fs set-expiry --account
--expiration-time
--path

Required Parameters

--account -n
Name of the Data Lake Store account.
--expiration-time
The absolute value of the expiration time expressed as milliseconds since the epoch.
--path
The path in the specified Data Lake Store account where the action should take place. In the format '/folder/file.txt', where the first '/' after the DNS indicates the root of the file system.

az dls fs show

Get file or folder information in a Data Lake Store account.

az dls fs show --account
--path

Required Parameters

--account -n
Name of the Data Lake Store account.
--path
The path in the specified Data Lake Store account where the action should take place. In the format '/folder/file.txt', where the first '/' after the DNS indicates the root of the file system.

az dls fs test

Test for the existence of a file or folder in a Data Lake Store account.

az dls fs test --account
--path

Required Parameters

--account -n
Name of the Data Lake Store account.
--path
The path in the specified Data Lake Store account where the action should take place. In the format '/folder/file.txt', where the first '/' after the DNS indicates the root of the file system.

az dls fs upload

Upload a file or folder to a Data Lake Store account.

az dls fs upload --account
--destination-path
--source-path
[--block-size]
[--buffer-size]
[--chunk-size]
[--overwrite]
[--progress-callback]
[--thread-count]

Required Parameters

--account -n
Name of the Data Lake Store account.
--destination-path
The full path in the Data Lake Store filesystem to upload the file or folder to.
--source-path
The path to the file or folder to upload.

Optional Parameters

--block-size
Size of a block, in bytes.
default value: 4194304
--buffer-size
Size of the transfer buffer, in bytes.
default value: 4194304
--chunk-size
Size of a chunk, in bytes.
default value: 268435456
--overwrite
Indicates that, if the destination file or folder exists, it should be overwritten.
--progress-callback
default value: <function _update_progress at 0x06E86ED0>
--thread-count
Parallelism of the upload. Default: The number of cores in the local machine.