FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > ArchLinux > ArchLinux General Discussion

 
 
LinkBack Thread Tools
 
Old 07-10-2010, 07:09 AM
Jordan Windsor
 
Default Rsync not handling spaces in directory names

On Sat, Jul 10, 2010 at 1:59 PM, Evangelos Foutras <foutrelis@gmail.com> wrote:
> On Sat, Jul 10, 2010 at 7:01 AM, Jordan Windsor <jordanw2@gmail.com> 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:
>>
>> [jordan@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'
>

Thank you, It's working now.
 

Thread Tools




All times are GMT. The time now is 12:55 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org