📄 do-purge.sh
字号:
#!/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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -