LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



Reply
 
Search this Thread
Old 11-20-2007, 01:58 PM   #1
cucolin@
Member
 
Registered: Nov 2003
Location: USA
Distribution: Ubuntu, Fedora
Posts: 415

Rep: Reputation: 31
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...

Last edited by cucolin@; 11-20-2007 at 03:14 PM.
 
Old 11-20-2007, 03:15 PM   #2
cucolin@
Member
 
Registered: Nov 2003
Location: USA
Distribution: Ubuntu, Fedora
Posts: 415

Original Poster
Rep: Reputation: 31
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
 
Old 11-20-2007, 05:06 PM   #3
cucolin@
Member
 
Registered: Nov 2003
Location: USA
Distribution: Ubuntu, Fedora
Posts: 415

Original Poster
Rep: Reputation: 31
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
 
Old 11-20-2007, 05:56 PM   #4
cucolin@
Member
 
Registered: Nov 2003
Location: USA
Distribution: Ubuntu, Fedora
Posts: 415

Original Poster
Rep: Reputation: 31
the trick is using single quotes: '/Volumes/SystemHD/Retrospect Catalogs/Weekly Catalog [088]' and it worked fine. thanks
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
cp command failing for large files - Input/Output error googs Linux - General 5 08-09-2012 01:28 PM
Input/Output Error; dpkg sub-process /usr/bin/dpkg returned and error code (2) NosLycn Linux - Software 7 12-12-2011 03:50 AM
Gentoo X server freezes /var/lib/init.d/ files input output error bendeg Linux - Software 0 12-01-2005 06:01 AM
Knoppix 4.0.2 - HD install - input/output errors on README files and docs kitcatcher Linux - Distributions 3 11-12-2005 11:40 AM
Input/Output errors on files Poetics Slackware 4 08-25-2003 06:57 PM


All times are GMT -5. The time now is 11:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration