17 lines
290 B
Bash
Executable File
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
|