rsync error: errors selecting input/output files, dirs (code 3) at main.c(323)
I'm trying to rsync a file to a remote server. I have done this before to this specific server, not sure if I forgot the right command of if there is something else going on. This is my rsync command:
sudo rsync -ae ssh user@remoteServer:/kunden/homepages/40/d205309670/htdocs/RetroCatalogs "/Volumes/SystemHD/Retrospect Catalogs/Weekly Catalog [088]" I get: ERROR: destination must be a directory when copying more than 1 file rsync error: errors selecting input/output files, dirs (code 3) at main.c(323) What is going on? Thanks... |
I tried this also:
sudo rsync -avz -e ssh user@remoteServer:/kunden/homepages/40/d205309670/htdocs/RetroCatalogs/ /Volumes/SystemHD/Retrospect?Catalogs/Weekly?Catalog?[088] and got this: receiving file list ... done mkdir "/Volumes/SystemHD/Retrospect?Catalogs/Weekly?Catalog?[088]" failed: No such file or directory rsync error: error in file IO (code 11) at main.c(334) any comments? thanks |
the correct format is:
rsync -avz -e ssh rsync@remote.acme.com:/home/rsync/out/ /home/rsync/from_remote I was wrong in that, but then I couldn't escape the spaces so I had to rename the source files and directory. This is not a solution. How do I escape the spaces I already tried " ", \, \\\, ?. thanks |
the trick is using single quotes: '/Volumes/SystemHD/Retrospect Catalogs/Weekly Catalog [088]' and it worked fine. thanks
|
Sorry about the necro, but this thread is still top result for this error.
This error will also occur if you are calling rsync from within a directory that does not exist. For example, if you cd into an external disk, then force unmount it, you cannot call rsync from that directory. cd to a directory which exists and rsync will run as expected. |
All times are GMT -5. The time now is 12:20 AM. |