Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

bash script mapfile with find

mapfile -d '' array < <(find "${PWD%/*}" -name '*.dmg' -print0 2>/dev/null)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #bash #script #mapfile #find
ADD COMMENT
Topic
Name
6+2 =