mkdir -p build
rsync -av src build --exclude '*test*' --exclude 'snapshots'

