CmdID / az / az storage / az storage file
az storage file list
List files and directories in a share. Azure CLI reference
8 options Its page in the Azure CLI reference
Options
--disallow-trailing-dotIf true, the trailing dot will be trimmed from the target URI.--exclude-dirList only files in the given share.--exclude-extended-infoSpecify to exclude "timestamps", "Etag", "Attributes", "PermissionKey" info from response--markerA string value that identifies the portion of the list of containers to be returned with the next listing operation.--num-resultsSpecify the maximum number to return.--path, -pThe directory path within the file share.--share-name, -sThe file share name.--snapshotA string that represents the snapshot version, if applicable.