LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux > 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
 
Thread Tools
Old 11-20-2007, 01:58 PM   #1
cucolin@
Member
 
Registered: Nov 2003
Location: USA
Distribution: Ubuntu, Fedora
Posts: 386
Thanked: 0
rsync error: errors selecting input/output files, dirs (code 3) at main.c(323)


[Log in to get rid of this advertisement]
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..
cucolin@ is offline     Reply With Quote
Old 11-20-2007, 03:15 PM   #2
cucolin@
Member
 
Registered: Nov 2003
Location: USA
Distribution: Ubuntu, Fedora
Posts: 386
Thanked: 0

Original Poster
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
cucolin@ is offline     Reply With Quote
Old 11-20-2007, 05:06 PM   #3
cucolin@
Member
 
Registered: Nov 2003
Location: USA
Distribution: Ubuntu, Fedora
Posts: 386
Thanked: 0

Original Poster
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
cucolin@ is offline     Reply With Quote
Old 11-20-2007, 05:56 PM   #4
cucolin@
Member
 
Registered: Nov 2003
Location: USA
Distribution: Ubuntu, Fedora
Posts: 386
Thanked: 0

Original Poster
the trick is using single quotes: '/Volumes/SystemHD/Retrospect Catalogs/Weekly Catalog [088]' and it worked fine. thanks
cucolin@ is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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 3 09-09-2006 12:48 AM
Input/Output Error; dpkg sub-process /usr/bin/dpkg returned and error code (2) NosLycn Linux - Software 5 05-10-2006 05:16 PM
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 01:50 PM.

Main Menu
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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration