blobporter
blobporter copied to clipboard
Ability to provide file list (-n -f equivalent) via file
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>
thanks for the suggestion.
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