Whitespace in directory names
Bruce Therrien
bruce.therrien at wm-mw.org
Mon Apr 11 22:31:27 GMT 2005
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 at 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 at 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 at remotehost:/home/michel/backup
Any suggestions?
--
Bruce Therrien <bruce.therrien at wm-mw.org>
This is the end of the internet.
Please turn around and go back.
More information about the rsync
mailing list