autoDeploy/upload.sh
zhangkun9038@dingtalk.com 553e030ccd replace osutil path
2023-02-28 22:45:23 +08:00

16 lines
265 B
Bash
Executable File

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