Код: Выделить всё
typeArr=()
if [[ "$type" == "f" || "$type" == "l" ]]; then
typeArr=("-type" "$type")
elif [[ "$type" == "b" ]]; then
typeArr=("\(" "-type" "f" "-o" "-type" "l" "\)")
fi
mapfile -t targetFilesArray <
Подробнее здесь: [url]https://stackoverflow.com/questions/79758674/find-paths-must-precede-expression[/url]
Мобильная версия