#!/bin/sh
source=("../server" "../client")
target_dir="./"
date=$(date +%Y%m%d)
target="$target_dir$date.zip"
zip -qr $target ${source[0]} ${source[1]}
if [ $? = 0 ]
then
echo "Back up SUCCESSFUL!"
else
echo "Back up FAILED!"
fi
exit 0
用户登录
还没有账号?立即注册
用户注册
投稿取消
| 文章分类: |
|
还能输入300字
上传中....
北斗地图_