Rsync not handling spaces in directory names

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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
jordan@archlap's password:
sending incremental file list
created directory /mnt/media/larissa-wine/drive_c/Program
Steam/
Steam/AppUpdateStats.blob
Steam/CSERHelper.dll
Steam/ClientRegistry.blob
Steam/GameOverlayRenderer.dll
Steam/GameOverlayRenderer.log
Steam/GameOverlayUI.exe
Steam/GameValidation.log
Steam/Steam.dll
Steam/Steam.exe
Steam/SteamUI.dll
Steam/SteamUI_1289.mst
Steam/Steam_61.mst
Steam/Support.url
Steam/ThirdPartyLegalNotices.doc
Steam/WriteMiniDump.exe
Steam/dbghelp.dll
Steam/mss32_s.dll
Steam/steam.ico
Steam/steam.log
Steam/steam_1289_assert_2010_7_6T17_13_2C0.mdmp
Steam/steam_1289_assert_2010_7_8T16_47_28C0.mdmp
^CKilled by signal 2.
rsync error: unexplained error (code 255) at rsync.c(543) [sender=3.0.7]

I killed the program before it continued, It created a directory on
the destinations with the name "Program" when it should have sync'd
the Steam folder within the "Program Files" directory.
Here's the output of ls -l in the destination directory parent:

[jordan@archlap drive_c]$ ls -l
total 1572
drwxr-xr-x  3 jordan  users    4096 Jul 10 13:26 Program
drwxrwxr--  6 larissa users    4096 Jul 10 12:55 Program Files
-rwxrwxr-x  1 larissa users 1588224 Jun 16 17:42 SteamInstall.msi
drwxrwxr-x  4 larissa users    4096 Jun 16 17:27 users
drwxrwxr-x 14 larissa users    4096 Jun 19 21:08 windows
drwxrwxr-x  2 larissa users    4096 Jun 16 23:49 winetrickstmp
[jordan@archlap drive_c]$

The jordan users is part of the "users" group and has the correct permission.

Thanks!


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux