On Sun, 2009-02-01 at 13:33 +0100, Louis-David Mitterrand wrote:
> Using 3.0.5 I can't send a file with ':' in its name in the current
> directory without prefixing it with ./
> 
> delos% touch file:ext
> 
> delos% rsync -avP file:ext sylla:/home/ldm
> The source and destination cannot both be remote.
> rsync error: syntax or usage error (code 1) at main.c(1154) [receiver=3.0.5]

That's because the HOST:PATH syntax indicates a source or destination to
be accessed via remote shell.  If you want to send a file whose name
would be misinterpreted as remote, use ./ or --files-from.

-- 
Matt

-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to