globbing doesn't work locally

Rob McMillin rlm at
Sat Aug 16 08:37:21 EST 2003

This is on rsync v2.4.5 on RedHat 7.3.

If I do something like

  rsync ... 'somehost:/path/to/files.*' /local/path

it works fine, but if I do

  rsync ... '/local/path/to/files.*' somehost:/path/to

globbing fails, yielding an error about being unable to find a file
named 'files.*':

  link_stat /local/path/to/files.* : No such file or directory
  rsync error: partial transfer (code 23) at main.c(578)

This strikes me as Not A Good Thing, i.e., file globbing should work
even inside literals.

rlm at
  "We're smarter individually." -- Larry Niven

More information about the rsync mailing list