Rsync with spaces in source or destination path

Eberhard Moenkeberg emoenke at gwdg.de
Sat Jul 4 21:12:42 GMT 2009


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  xxx        0 Jul  5 02:23 /tmp//test file
>
> # /usr/local/bin/rsync --archive /u/masanip/ACH/test\\\ file /tmp/mydir/
> rsync: link_stat "/tmp/test\ file" failed: No such file or directory (2)

Don't you see it: one / too much.


Viele Gruesse
Eberhard Moenkeberg (emoenke at gwdg.de, em at kki.org)

-- 
Eberhard Moenkeberg
Arbeitsgruppe IT-Infrastruktur
E-Mail: emoenke at gwdg.de      Tel.: +49 (0)551 201-1551
-------------------------------------------------------------------------
Gesellschaft fuer wissenschaftliche Datenverarbeitung mbH Goettingen (GWDG)
Am Fassberg 11, 37077 Goettingen
URL:    http://www.gwdg.de             E-Mail: gwdg at gwdg.de
Tel.:   +49 (0)551 201-1510            Fax:    +49 (0)551 201-2150
Geschaeftsfuehrer:           Prof. Dr. Bernhard Neumair
Aufsichtsratsvorsitzender: Dipl.-Kfm. Markus Hoppe
Sitz der Gesellschaft:     Goettingen
Registergericht:           Goettingen  Handelsregister-Nr. B 598
-------------------------------------------------------------------------


More information about the rsync mailing list