Well, what you have should function.  But rsync is going to sort the list.

On 9/17/21 8:26 PM, hancooper wrote:
> ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
> On Saturday, September 18, 2021 12:06 AM, Kevin Korb via rsync 
> <rsync@lists.samba.org> wrote:
> 
>> Not really sure what you are trying to accomplish here. Seems like it
>> should work the way you have it. Note that many wonky rsync kludges are
>> due to people not realizing that rsync can have multiple source
>> arguments. Instead of the source simply being . it can be a list of
>> stuff. Also, note that -a includes --recursive except when --files-from
>> is in play.
> 
> I am trying send via rsync a shuffled list of files.
> 
> 
>> On 9/17/21 7:11 PM, hancooper via rsync wrote:
>>
>>> 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"
>>
>> --
>>
>> ~-,._.,-~'`^`'~-,._.,-~'`^`'~-,._.,-~'`^`'~-,._.,-~'`^`'~-,._.,
>> Kevin Korb Phone: (407) 252-6853
>> Systems Administrator Internet:
>> FutureQuest, Inc. ke...@futurequest.net (work)
>> Orlando, Florida k...@sanitarium.net (personal)
>> Web page: https://sanitarium.net/
>> PGP public key available on web site.
>> ~-,..,-~'`^`'~-,..,-~'`^`'~-,..,-~'`^`'~-,..,-~'`^`'~-,._.,
>> ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>>
>> Please use reply-all for most replies to avoid omitting the mailing list.
>> To unsubscribe or change options: 
>> https://lists.samba.org/mailman/listinfo/rsync
>> Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
> 

-- 
~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,
        Kevin Korb                      Phone:    (407) 252-6853
        Systems Administrator           Internet:
        FutureQuest, Inc.               ke...@futurequest.net  (work)
        Orlando, Florida                k...@sanitarium.net (personal)
        Web page:                       https://sanitarium.net/
        PGP public key available on web site.
~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,

-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to