CmdID / az / az storage / az storage fs / az storage fs file
az storage fs file upload
Upload a file to a file path in ADLS Gen2 file system. Azure CLI reference
11 options Its page in the Azure CLI reference
Options
--contentContent to be appended to file.--file-system, -fFile system name (i.e. container name).--if-modified-sinceA Commence only if modified since supplied UTC datetime (Y-m-d'T'H:M'Z').--if-none-match, --if-matchAn ETag value, or the wildcard character (*).--if-unmodified-sinceA Commence only if unmodified since supplied UTC datetime (Y-m-d'T'H:M'Z').--overwriteOverwrite an existing file when specified.--path, -pThe file path in a file system.--permissionsPOSIX access permissions for the file owner, the file owning group, and others.--source, -sPath of the local file to upload as the file content.--timeoutRequest timeout in seconds.--umaskWhen creating a file or directory and the parent folder does not have a default ACL, the umask restricts the permissions of the file or directory to be created.