Bash script mapfile com encontro
mapfile -d '' array < <(find "${PWD%/*}" -name '*.dmg' -print0 2>/dev/null)
Brian Patterson
mapfile -d '' array < <(find "${PWD%/*}" -name '*.dmg' -print0 2>/dev/null)