The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
want to print single quote using awk RahulJoshi Shell Programming and Scripting 2 11-20-2008 10:10 AM
escaping single quote javeed7 Shell Programming and Scripting 3 04-02-2008 06:36 AM
single quote dreams5617 Shell Programming and Scripting 2 12-01-2007 03:37 AM
AWK handling of single quote braindrain Shell Programming and Scripting 3 04-27-2006 05:57 PM
Replacing a single quote rjsha1 Shell Programming and Scripting 3 12-23-2005 10:55 AM

 
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 12-04-2008
mr_boysito mr_boysito is offline
Registered User
  
 

Join Date: Dec 2008
Posts: 5
Unhappy single quote problem with rsync

Hi everybody,

I'm a newbie and hope that someone help me in this problem.

I have a filename in LINUX with single quote like this:

abs@hosttest:~/ABS/BETY/cygdrive/C/DECLARANOT 1.1.4/02 - ROCK/052 - GUNSROSES> dir You*
-rw-r--r-- 1 abs users 2365881 2008-08-25 09:16 You're Crazy.mp3

The file is You're Crazy.mp3.

I want to recover this file from windows, i use the next command:

C:\>rsync -avrz --progress abs@test.no-ip.org://home/abs/ABS/BETY/cygdrive/C/"'DECLARANOT 1.1.4/02 - ROCK/052 - GUNS
ROSES/You're Crazy.mp3'" /ABS_RECOVERY\
Password:
bash: -c: line 0: unexpected EOF while looking for matching `''
bash: -c: line 1: syntax error: unexpected end of file
rsync: connection unexpectedly closed (0 bytes received so far) [receiver]
rsync error: error in rsync protocol data stream (code 12) at io.c(644) [receiver=3.0.2]

when the filename has no single quote, i have not problems.

I hope someone can help me with this problem.

Thanks in advance, and congratulations for this great forum.

Atte
The Boysito

PD.Sorry for my poor english
 

Bookmarks

Tags
shell script, shell scripting, unix scripting, unix scripting basics

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 09:14 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0