On Thu, 18 May 2017 13:16:23 +0200 Thorsten Glaser <t...@mirbsd.de> wrote:
> Package: rsync
> Version: 3.1.2-2
> Severity: serious
> Tags: security upstream
> Justification: security-relevant
> 
> Assume my home directory on 'remote' has no files matching '*4'.
> 
> Now run this:
> 
> remote$ touch ./-zT.mp4
> local$ mkdir test
> local$ cd test
> local$ rsync -zavPH --numeric-ids -S --stats '--rsh=ssh -T' $remote:\*4 .

I think you just need to prefix your wildcard. This works for me:

    $ rsync -zavP --numeric-ids --stats $remote:./*4 .
    receiving incremental file list
    -zT.mp4
                  0 100%    0.00kB/s    0:00:00 (xfr#1, to-chk=0/1)
    
                  Number of files: 1 (reg: 1)
                  Number of created files: 1 (reg: 1)
                  Number of deleted files: 0
                  Number of regular files transferred: 1
                  Total file size: 0 bytes
                  Total transferred file size: 0 bytes
                  Literal data: 0 bytes
                  Matched data: 0 bytes
                  File list size: 37
                  File list generation time: 0.001 seconds
                  File list transfer time: 0.000 seconds
                  Total bytes sent: 43
                  Total bytes received: 88
    
                  sent 43 bytes  received 88 bytes  262.00 bytes/sec
                  total size is 0  speedup is 0.00

-- 
Regards,
Scott.

Attachment: signature.asc
Description: PGP signature

Reply via email to