#!/bin/bash cp /data/Makefile . 2>/dev/null make distro IFS=$'\n' for f in $(find ./data/temp/ -iname "*merlinServer*" -type f);do cp "$f" /data/ done cp Makefile /data/