for w in *_workspace;do cd $w;\
rm -rf .metadata .recommenders *.rar *.zip RemoteSystemsTempFiles Servers;\
cd ..;done
for p in *_workspace/chorke-*;do cd $p;pwd;\
rm -rf .classpath .project .settings .springBeans target;\
cd ../..;done
for p in *_workspace/chorke-*;do cd $p;pwd;\
rm -rf .classpath .project .settings .springBeans target;\
rm -rf src/main/cmd/.sencha;\
for m in src/main/cmd/*;do \
if [ -d "$m" ];then rm -rf $m;fi;\
if [[ "$m" == */bootstrap.* ]];then \
rm -rf $m;\
fi;\
done;\
cd ../..;done
for w in *_workspace;do cd $w;\
for p in chorke-*;do zip -r $p.jar $p; rm -rf $p;done;\
cd ..;done