Rsync with spaces in source or destination path

2009-07-04 Thread paresh masani
Hi, I am trying to transfer a file that has spaces in its name. The rsync gives me below error. Am I doing anything wrong? #ls -l /tmp/test\ file -rw-rw-r-- 1 xxx xxx0 Jul 5 02:23 /tmp//test file # /usr/local/bin/rsync --archive /u/masanip/ACH/test\\\ file /tmp/mydir/ rsync:

Re: Rsync with spaces in source or destination path

2009-07-04 Thread paresh masani
Please note that double quates is working but I want to make it work with \\\. For example, == /usr/local/bin/rsync --archive /u/masanip/ACH/test file /tmp/mydir/ == is working but == /usr/local/bin/rsync --archive /u/masanip/ACH/test\\\ file /tmp/mydir/ == not. Thanks. On Sun, Jul 5, 2009 at

Re: Rsync with spaces in source or destination path

2009-07-04 Thread Matthias Schniedermeyer
On 05.07.2009 02:29, paresh masani wrote: Hi, I am trying to transfer a file that has spaces in its name. The rsync gives me below error. Am I doing anything wrong? What you are looking for is -s a.k.a. --protect-args' - man rsync - -s, --protect-args no space-splitting;

Re: Rsync with spaces in source or destination path

2009-07-04 Thread paresh masani
Got it work with single slash. :-) # /usr/local/bin/rsync --archive /u/masanip/ACH/test\ file /tmp/mydir/ On Sun, Jul 5, 2009 at 2:34 AM, paresh masani masanipar...@gmail.comwrote: Please note that double quates is working but I want to make it work with \\\. For example, ==

Re: Rsync with spaces in source or destination path

2009-07-04 Thread Eberhard Moenkeberg
Hi, On Sun, 5 Jul 2009, paresh masani wrote: Hi, I am trying to transfer a file that has spaces in its name. The rsync gives me below error. Am I doing anything wrong? #ls -l /tmp/test\ file -rw-rw-r-- 1 xxx xxx0 Jul 5 02:23 /tmp//test file # /usr/local/bin/rsync --archive