#!/bin/bash cd /tmp/autoDeploy ./ossutil stat oss://ztupload/html.zip > html_oss.info ossInfo=$(cat html_oss.info) out1=${ossInfo##*Etag} echo $out1