#!/bin/bash rm -rf R4_platform-aggregator git clone -b Juno_RC4_R4 --recurse-submodules git://git.eclipse.org/gitroot/cbi/platform-aggregator.git R4_platform-aggregator find . -type d -name ".git" -exec rm -rf {} \; find . -type f -name "*.class" -exec rm -rf {} \; find . -name *.jar -exec rm -rf {} \; find . -type f -name *.so -exec rm -rf {} \; find . -type f -name *.dll -exec rm -rf {} \; find . -type f -name *.jnilib -exec rm -rf {} \; tar cjf eclipse-source.tar.bz R4_platform-aggregator