azcopy listazcopy list

列出给定资源中的实体。Lists the entities in a given resource.


当前版本仅支持 Blob 容器。Only Blob containers are supported in the current release.

azcopy list [containerURL] [flags]


azcopy list [containerURL]


选项Option 说明Description
-h、--help-h, --help 显示 list 命令的帮助内容。Show help content for the list command.
--machine-readable--machine-readable 列出文件大小(以字节为单位)。Lists file sizes in bytes.
--mega-units--mega-units 显示单位为 1000,而不是 1024。Displays units in orders of 1000, not 1024.
--running-tally--running-tally 计算文件总数及其大小。Counts the total number of files and their sizes.

从父命令继承的选项Options inherited from parent commands

选项Option 说明Description
--cap-mbps float--cap-mbps float 以兆位/秒为单位限制传输速率。Caps the transfer rate, in megabits per second. 瞬间吞吐量可能与上限略有不同。Moment-by-moment throughput might vary slightly from the cap. 如果此选项设置为零,或者省略,则吞吐量不受限制。If this option is set to zero, or it is omitted, the throughput isn't capped.
--output-type string--output-type string 命令输出的格式。Format of the command's output. 选项包括:text、json。The choices include: text, json. 默认值为“text”。The default value is "text".
--trusted-microsoft-suffixes 字符串--trusted-microsoft-suffixes string 指定可在其中发送 Azure Active Directory 登录令牌的其他域后缀。Specifies additional domain suffixes where Azure Active Directory login tokens may be sent. 默认值为“;;;” 。The default is ';;;'. 此处列出的任何内容都会添加到默认值。Any listed here are added to the default. 为安全起见,应只在此处放置 Azure 域。For security, you should only put Azure domains here. 用分号分隔多个条目。Separate multiple entries with semi-colons.

另请参阅See also