Observed in version 2.6.8 on Linux. $ ls -l total 0 -rw------- 1 tom tom 0 Oct 29 17:34 a -rw------- 1 tom tom 0 Oct 29 17:34 b -rw------- 1 tom tom 0 Oct 29 17:34 c $ rsync --list-only * -rw------- 0 2006/10/29 17:34:49 a -rw------- 0 2006/10/29 17:34:49 b The "--dry-run --verbose" combination of options seems to work correctly.
Ah. Not a bug. Last argument is still taken as a destination, so "rsync --list-only ." works correctly. It may useful to check for the mistaken use of "*"... but that's nothing to do with --list-only. The only connection is that --listonly works both with and without a destination argument.