Bash/Eclipse Workspace: Difference between revisions
Jump to navigation
Jump to search
(Created page with "== Workspace Metadata Clean == <syntaxhighlight lang="bash"> for w in *_workspace;do cd $w;\ rm -rf .metadata .recommenders *.rar *.zip RemoteSystemsTempFiles Servers;\ cd ....") |
|||
Line 15: | Line 15: | ||
== Archive Eclipse Projects == | == Archive Eclipse Projects == | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
for w in *_workspace;do cd $w; \ | for w in *_workspace;do cd $w;\ | ||
for p in chorke-*;do zip -r $p.jar $p; rm -rf $p;done;\ | for p in chorke-*;do zip -r $p.jar $p; rm -rf $p;done;\ | ||
cd ..;done | cd ..;done | ||
</syntaxhighlight> | </syntaxhighlight> |
Revision as of 01:50, 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
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