globbing doesn't work locally
jw at pegasys.ws
Sat Aug 16 08:45:20 EST 2003
On Fri, Aug 15, 2003 at 03:37:21PM -0700, Rob McMillin wrote:
> 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.
Globbing of command-line arguments is the responsibility of the shell.
J.W. Schultz Pegasystems Technologies
email address: jw at pegasys.ws
Remember Cernan and Schmitt
More information about the rsync