autoDeploy/upload.sh
2025-02-25 21:52:14 +08:00

17 lines
290 B
Bash
Executable File

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