do-purge.sh

来自「一个工作流设计及定义的系统,可以直接与数据库结合进行系统工作流程的定义及应用.」· Shell 代码 · 共 45 行

SH
45
字号
#!/bin/sh#rm -fR work-engine/pool/*#rm work-worklist/store/alpha/*.xml#rm work-worklist/store/bravo/*.xml#rm work-worklist/store/default/*.xml#rm work-worklist/store/querystore/*.xml## purging the poolcd work/engine/pool/ && \for file in $( find * -type d )do    if [ "$file" != 'CVS' ]; then	#echo `pwd`	echo "rm -fR $file"	rm -fR $file    fidoneecho "   pool cleaned."cd ../..echo `pwd`## purging all the storescd worklist/store/ && \for file in $( find * -type d )do    if [ "$file" != 'CVS' ]; then	#echo `pwd`	echo "rm $file/*.xml"	rm $file/*.xml    fidoneecho "   workitem stores cleaned."echo # but this script doesn't clean stores in a database...

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?