autoDeploy/upload.sh
zhangkun9038@dingtalk.com eb4afd243a replace ossutil
2023-02-28 23:06:53 +08:00

16 lines
273 B
Bash
Executable File

dataCenterPath=~/data_center
function fetch()
{
for file in ${dataCenterPath}/jars/*.jar
do
if [ -f "$file" ]
then
fileName=${file##*/}
ossutil cp -f $file oss://ztupload/stage/dataCenter/backEnd/$fileName &
echo file: $fileName
fi
done
}
fetch