Bash/Eclipse Workspace: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 17: | Line 17: | ||
for p in *_workspace/chorke-*;do cd $p;pwd;\ | for p in *_workspace/chorke-*;do cd $p;pwd;\ | ||
rm -rf .classpath .project .settings .springBeans target;\ | rm -rf .classpath .project .settings .springBeans target;\ | ||
rm -rf src/main/cmd/.sencha \ | rm -rf src/main/cmd/.sencha;\ | ||
for m in src/main/cmd/*;do \ | for m in src/main/cmd/*;do \ | ||
if [ -d "$m" ];then rm -rf $m;fi;\ | if [ -d "$m" ];then rm -rf $m;fi;\ |
Revision as of 02:14, 17 September 2018
Workspace Metadata Clean
for w in *_workspace;do cd $w;\
rm -rf .metadata .recommenders *.rar *.zip RemoteSystemsTempFiles Servers;\
cd ..;done
Project Metadata Clean
for p in *_workspace/chorke-*;do cd $p;pwd;\
rm -rf .classpath .project .settings .springBeans target;\
cd ../..;done
Sencha Metadata Clean
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
Archive Eclipse Projects
for w in *_workspace;do cd $w;\
for p in chorke-*;do zip -r $p.jar $p; rm -rf $p;done;\
cd ..;done