blobporter icon indicating copy to clipboard operation
blobporter copied to clipboard

Ability to provide file list (-n -f equivalent) via file

Open udf2457 opened this issue 7 years ago • 2 comments

At the moment, the only option is to list out -n -f on as CLI parameters.

It would be great to be able to define these in a file, perhaps XML for example:

<files>
<file>
<source>foo</source> <!--- i.e. -f on the CLI --->
<dest>bar</dest> <!--- i.e. -n on the CLI -->
<file>
.
.
.
</files>

udf2457 avatar May 11 '17 07:05 udf2457

thanks for the suggestion.

giventocode avatar May 11 '17 18:05 giventocode

FYI, whilst implementing this, please also consider exposing x-ms-meta-name:value

https://docs.microsoft.com/en-us/rest/api/storageservices/put-block-list

x-ms-meta-name:value: Optional. User-defined name-value pairs associated with the blob.

And also conditional headers (https://docs.microsoft.com/en-us/rest/api/storageservices/specifying-conditional-headers-for-blob-service-operations) If-Modified-Since, If-Unmodified-Since, If-Match,If-None-Match

udf2457 avatar May 13 '17 10:05 udf2457