Passing result of shuf to rsync

hancooper hancooper at protonmail.com
Fri Sep 17 23:11:54 UTC 2021


I am trying to pass filename results that have been shuffled, then pass the file to rsync.
Not quite sure whether to use --files-from=- or some other way.

shuf -n "$nf" -e ${dpath}/${incl} |
rsync -av --update --files-from=- . "$dst"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.samba.org/pipermail/rsync/attachments/20210917/f86dcea7/attachment.htm>


More information about the rsync mailing list