#!/bin/bash JUCE_MODULES_DIR="/home/falktx/Personal/FOSS/GIT/distrho/libs/juce-2.0/source/modules" CARLA_MODULES_DIR="/home/falktx/Personal/FOSS/GIT/Carla/source/modules" MODULES=("juce_audio_basics juce_audio_devices juce_audio_formats juce_audio_processors juce_core juce_data_structures juce_events juce_graphics juce_gui_basics") for M in $MODULES; do echo $M; cp -r -v $JUCE_MODULES_DIR/$M/* $CARLA_MODULES_DIR/$M/ done find $CARLA_MODULES_DIR -name juce_module_info -delete