howto escape spaces in pathes when using rsync via ssh?
Hi,
I'm using rsync to sync my Addressbook's data from my PB to the cube where my iPod is connected to and syncs to that data. I've also set up ssh to connect to the cube and vice versa. Problem is, the path to the address book data contains a white space (Application Support). I escape it using a backslash on both the local and the remote path in the rsync command. It works with the local path but not with the remote one where it becames a 'real' space, so that rsync creates a new folder ~/Library/Application and copies everything over there. Any suggestions what's going on and how to solve it?
(I remember I read something about the oddities of terminal - back when Panther came out - also scratching those kinds of issues, but don't remember where this was and yes, I've a workaround using a spaceless symlink at the cube, but I'd like to solve it within the rsync command. The symlink is just ugly).
PowerBook 12 Mac OS X (10.4.6)
I'm using rsync to sync my Addressbook's data from my PB to the cube where my iPod is connected to and syncs to that data. I've also set up ssh to connect to the cube and vice versa. Problem is, the path to the address book data contains a white space (Application Support). I escape it using a backslash on both the local and the remote path in the rsync command. It works with the local path but not with the remote one where it becames a 'real' space, so that rsync creates a new folder ~/Library/Application and copies everything over there. Any suggestions what's going on and how to solve it?
(I remember I read something about the oddities of terminal - back when Panther came out - also scratching those kinds of issues, but don't remember where this was and yes, I've a workaround using a spaceless symlink at the cube, but I'd like to solve it within the rsync command. The symlink is just ugly).
PowerBook 12 Mac OS X (10.4.6)