#!/usr/bin/env bash

for file in $(find /opt/landoop/connectors -maxdepth 2 -type f -exec basename {} \; | sort | uniq -c | grep -E "^\s+20 " | awk '{print $2}' );
do
    cp /opt/landoop/connectors/kafka-connect-elastic/$file /opt/landoop/kafka/share/java/landoop-common/
    rm -f /opt/landoop/connectors/kafka-connect-*/$file
done

Add script for creating landoop common (concludes previous commit)
Add script for creating landoop common (concludes previous commit)

Signed-off-by: Marios Andreopoulos <279a4cf6d7f8da1ddc113bb946b9273d9d938683@andmarios.com>
