I'm trying to use azcopy to list files in a blob container. I can only get it to tell me how many files exist but not actually return the names of the files. the command i'm using is:
azcopy /source:$sharedimagesource /dest:$dest /sourcekey:$srckey /S /V /L
The output is:
Listed: 2 file(s)
[2016/05/03 12:22:09] Transfer summary:
-----------------
Total files listed: 2
Elapsed time: 00.00:00:00
Any way to get the names of the files?
Indeed, the blob names are not listed in the command line. But instead, you can specify an output file and then the copied blobs will be listed in that file. Just modifed your command as below:
azcopy /source:$sharedimagesource /dest:$dest /sourcekey:$srckey /S /L /V:C:\test\output.txt
Just specify the output path after /V parameter. I just tested and it works. Hope this helps.