az batch file

Manage Batch input files.

Commands

az batch file download

Download a specified file or directory of files to the specified storage path.

az batch file upload

Upload a specified file or directory of files to the specified storage path.

az batch file download

Download a specified file or directory of files to the specified storage path.

az batch file download --file-group
                       --local-path
                       [--account-endpoint]
                       [--account-key]
                       [--account-name]
                       [--overwrite]
                       [--remote-path]
                       [--resource-group]

Required Parameters

--file-group

Name of a file group from which the files will be downloaded.

--local-path

Path to a local file or directory to be stored the download files.

Optional Parameters

--account-endpoint

Batch service endpoint. Alternatively, set by environment variable: AZURE_BATCH_ENDPOINT.

--account-key

The Batch account key. Alternatively, set by environment variable: AZURE_BATCH_ACCESS_KEY.

--account-name

The Batch account name. Alternatively, set by environment variable: AZURE_BATCH_ACCOUNT.

--overwrite

If set, an existing file in the local path will be overwritten.

--remote-path

The subdirectory under which files exist remotely.

--resource-group

The resource group of the Batch account.

az batch file upload

Upload a specified file or directory of files to the specified storage path.

az batch file upload --file-group
                     --local-path
                     [--account-endpoint]
                     [--account-key]
                     [--account-name]
                     [--flatten]
                     [--remote-path]
                     [--resource-group]

Required Parameters

--file-group

Name of a file group under which the files will be stored.

--local-path

Path to a local file or directory to be uploaded - can include wildcard patterns.

Optional Parameters

--account-endpoint

Batch service endpoint. Alternatively, set by environment variable: AZURE_BATCH_ENDPOINT.

--account-key

The Batch account key. Alternatively, set by environment variable: AZURE_BATCH_ACCESS_KEY.

--account-name

The Batch account name. Alternatively, set by environment variable: AZURE_BATCH_ACCOUNT.

--flatten

If set, will not retain local directory structure in storage.

--remote-path

Group subdirectory under which files will be uploaded.

--resource-group

The resource group of the Batch account.