<div>I am trying to pass filename results that have been shuffled, then pass the file to rsync.<br></div><div>Not quite sure whether to use --files-from=- or some other way.<br></div><div><br></div><div class="protonmail_signature_block"><div class="protonmail_signature_block-user protonmail_signature_block-empty"><br></div></div><div>shuf -n "$nf" -e ${dpath}/${incl} |<br></div><div>    rsync -av --update --files-from=- . "$dst"<br></div><div><br></div>