On Sat, Jul 10, 2010 at 7:01 AM, Jordan Windsor <[email protected]> wrote:
> I'm unable to get rsync to handle a particular directory which
> contains spaces within its name.
> Here's the command I run and the output:
>
> [jor...@archpc Program Files]$ rsync -rve 'ssh -p 2222' Steam
> archlap:/mnt/media/larissa-wine/drive_c/Program\ Files

The way the space is escaped there at the end probably needs some
tweaking. Note that the space is escaped in the current shell, and
rsync receives 'archlap:/mnt/media/larissa-wine/drive_c/Program Files'
as the last argument. I'm not sure how it's handled after this point,
but either of the following ways should work:

1) archlap:/mnt/media/larissa-wine/drive_c/Program\\\ Files
2) archlap:'/mnt/media/larissa-wine/drive_c/Program\ Files'

Reply via email to