emanuele6 1652591264 learn since version 4.9.0, GNU find has the `-files0-from' option to specify starting points from a file. This option can also be used to safely pass an arbitrary path to use as starting point (see !find$) and to specify starting points that start with "-" without having to prefix "./" (which was previously not possible): printf '%s\0' "${dirs[@]}" | find -files0-from - -type f