Problems with the rsync command line syntax for multiple files

Wayne Davison wayned at users.sourceforge.net
Mon May 13 12:23:01 EST 2002


On Mon, 13 May 2002, Peter Møller Neergaard wrote:
> types:/<3>tmp/wwwreports-dont-edit > echo *.html
> [...lots of files with colons in them...]

Rsync treats a colon on the commandline as a separator between a machine
name and the filename, so you can't use *.html if it expands to one or
more names that includes a colon UNLESS the name follows something like
a slash, that is illegal as a hostname.  So, try using "./*.html"
instead.

..wayne..





More information about the rsync mailing list