Updated Listing specific files to transfer (markdown)

John Rusk [MSFT] 2019-10-11 13:31:33 +13:00
Родитель 54c673cfa0
Коммит 1d8cbddddd
1 изменённых файлов: 3 добавлений и 1 удалений

@ -1,6 +1,6 @@
You can create a list of specific files to transfer, and then tell AzCopy to transfer only those exact files. As of version 10.3, this flag remains undocumented (except for this wiki page) and it does not appear in the in-app command line help. It is however regularly used by Azure Storage Explorer to pass file lists to its embedded copy of AzCopy.
To use this feature, create a text file that lists the files to be transferred, which are all under the root source directory. (BTW, you can also list directories here too, but you should also add the --recursive flag in that case).
To use this feature, create a text file that lists the files to be transferred, which are all under the root source directory.
Example file:
@ -17,6 +17,8 @@ And it will transfer the files `d:\sourceDir\File_1.pdf` and `d:\sourceDir\subdi
For downloads, the process is similar - the names in the file are appended to the source container/virtual directory to produce the full URLs of the files to download.
(BTW, you can also list directories as well as individual files. You should also add the --recursive flag to your command line in that case).
***