Trying to transfer a directory from a Mac G4 that contains whitespace in the name, but I keep getting errors, saying that the directory doesn't exist. I have tried the \ thing and also using quotes. No success..... Here is the sample original command: rsync --dry-run -avrW "ssh -i /home/michel/.ssh/wmmw-rsync-key" /Applications/4D Business Kit 2.2.4 (391)/WMMW_Site/WebDemos/ michel@remotehost:/home/michel/backup Here is the sample command with \ Also tried escaping the (391) like \(391\) rsync --dry-run -avrW "ssh -i /home/michel/.ssh/wmmw-rsync-key" /Applications/4D\ Business\ Kit\ 2.2.4\ (391)/WMMW_Site/WebDemos/ michel@remotehost:/home/michel/backup Here is the sample command with quotes Also tried escaping the entire directory like "/Applications/4D Business Kit 2.2.4 (391)/WMMW_Site/WebDemos/" rsync --dry-run -avrW "ssh -i /home/michel/.ssh/wmmw-rsync-key" /Applications/"4D Business Kit 2.2.4 (391)"/WMMW_Site/WebDemos/ michel@remotehost:/home/michel/backup Any suggestions? -- Bruce Therrien <bruce.therrien@wm-mw.org> This is the end of the internet. Please turn around and go back.
On Mon, Apr 11, 2005 at 06:31:27PM -0400, Bruce Therrien wrote:> I keep getting errors, saying that the directory doesn't exist.Since you are running the command with --dry-run, are you using 2.6.4 on both ends? If not, then you should create all the destination directories to avoid any warnings about non-existent directories (older versions didn't handle missing directories correctly with --dry-run). The spaces shouldn't have any effect on the command you mention (the ones where the special characters are properly quoted or escaped). ..wayne..