The only reason I can think of is if there is a ‘\’ that is part of the name, 
in which case you would escape it by adding another ‘\’ (\\)


> On Sep 2, 2015, at 4:13 PM, Denis Heidtmann <[email protected]> wrote:
> 
> Thanks.
> 
> No escape characters in file names.
> 
> Are there instances where adding the backslash to escape a space gets
> interpreted as part of the name rather than processed as an escape?
> 
> -Denis
> 
> -Denis
> On Wed, Sep 2, 2015 at 3:36 PM, Louis Kowolowski <[email protected] 
> <mailto:[email protected]>>
> wrote:
> 
>> You should be able to use either one, but quoting may be easier, or get
>> you going faster.
>> Something like:
>> rsync -aPS foo user@host:”/path/to/dir with spaces/“
>> should work. Likewise,
>> rsync -aPS foo user@host:/path/to/dir\ with\ spaces/
>> should also work
>> 
>> It gets more complicated if there are escape characters in the directory
>> or file name. Hopefully that isn’t happening.
>> 
>> 
>>> On Sep 2, 2015, at 3:11 PM, Denis Heidtmann <[email protected]>
>> wrote:
>>> 
>>> I am trying to set up dirvish for local backup.  One file, VirtualBox
>> VMs,
>>> presents the subject question.  In dirvish, the name will appear in two
>>> places:  The exclude: entry in the default.conf file for the backup of
>> all
>>> of home, and in the tree: entry in the default.conf file for the backup
>>> of VirtualBox VMs
>>> 
>>> I can run a bunch of tests, but I would like some understanding when
>>> escaping the space is needed.  Should I be using the backslash or double
>>> quotes?
>>> 
>>> I have looked at the documents for rsync, which dirvish uses, but it is
>> too
>>> dense for my soft head.
>>> 
>>> Thanks,
>>> -Denis
>>> _______________________________________________
>>> PLUG mailing list
>>> [email protected]
>>> http://lists.pdxlinux.org/mailman/listinfo/plug
>> 
>> --
>> Louis Kowolowski                                [email protected]
>> <mailto:[email protected] <mailto:[email protected]>>
>> Cryptomonkeys:
>> http://www.cryptomonkeys.com/ <http://www.cryptomonkeys.com/> 
>> <http://www.cryptomonkeys.com/ <http://www.cryptomonkeys.com/>>
>> 
>> Making life more interesting for people since 1977
>> 
>> _______________________________________________
>> PLUG mailing list
>> [email protected] <mailto:[email protected]>
>> http://lists.pdxlinux.org/mailman/listinfo/plug 
>> <http://lists.pdxlinux.org/mailman/listinfo/plug>
>> 
> _______________________________________________
> PLUG mailing list
> [email protected] <mailto:[email protected]>
> http://lists.pdxlinux.org/mailman/listinfo/plug 
> <http://lists.pdxlinux.org/mailman/listinfo/plug>
--
Louis Kowolowski                                [email protected] 
<mailto:[email protected]>
Cryptomonkeys:                                   http://www.cryptomonkeys.com/ 
<http://www.cryptomonkeys.com/>

Making life more interesting for people since 1977

_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to