+ # Find settings
+ firegex=".+\(jpg\|jpeg\|gif\|png\|webm\)$"; # update according to `find . -type f | grep -Eo "\.([[:alnum:]])+$" | sort -u`
+ fsize="10k"; # default: minimum "10k"
+ export firegex fsize ; # export for parallel
+ ## Call find_filelist() in parallel for positional argument input
+ if [[ "${#dirs_psarg[@]}" -gt 0 ]]; then
+ fdepth=10; export fdepth; # 10 for dirs from positional arguments
+ paths_images+=("$( parallel find_flist {} "$fdepth" "$firegex" "$fsize" ::: "${dirs_psarg[@]}" )"); # See [1]
+ fi;
+ ## Call find_filelist() in parallel for stdin input
+ if [[ "${#dirs_stdin[@]}" -gt 0 ]]; then
+ fdepth=1; export fdepth; # 1 ofr dirs from stdin
+ paths_images+=("$( parallel find_flist {} "$fdepth" "$firegex" "$fsize" ::: "${dirs_stdin[@]}" )"); # See [1]
+ fi;
+