shell for循环+传参 实现分区批量加载
摘要:
--addpt.sh 添加分区脚本#!/bin/bashsource /home/tbso/conf/set_env.shsource /home/tbso/conf/common_tables.shsource /home/tbso/conf/common_utils.shif [ $# -eq 0 ]; then DAY_1=`date +%Y%m%d -d -1day`elif [ $# -eq 2 ]; then DAY_1=$1 X=$2 DAY_X=`date --date="$DAY_1 $X day ago" +%Y%m%d`else exit -1;fi$ 阅读全文
posted @ 2013-10-14 23:29 风逸徽杭 阅读(592) 评论(0) 推荐(0)
浙公网安备 33010602011771号