svn自动备份
摘要:
#!/bin/shPATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~/binexport PATHDATE=`date +%Y%m%d`BK_DIR="/tmp/svn_bak"SVN_DIR="/svndata/cloudil"BAK_VER=`ssh *.*.*.* "svnlook youngest $dir"`if [ ! -d $BK_DIR ]then/bin/mkdir -p $BK_DIRfiNOW_REV=`svnlook young 阅读全文
posted @ 2013-08-30 17:34 wangbokun 阅读(205) 评论(0) 推荐(0) 编辑