The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How can i replace a character with blank space? rollthecoin AIX 8 04-22-2008 08:55 AM
special character on Filename.. help!!!urgent genzbeat HP-UX 1 01-18-2008 03:55 PM
how to read double consecutive space in filename for bash shell james_falco UNIX for Dummies Questions & Answers 1 07-17-2007 04:32 PM
Filename character changes xramm Shell Programming and Scripting 5 05-30-2007 10:34 AM
filename that starts with a space noobie_doo UNIX for Dummies Questions & Answers 6 09-09-2002 05:51 PM

Closed Thread
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
  #1 (permalink)  
Old 07-04-2004
chief2 chief2 is offline
Registered User
  
 

Join Date: Jul 2004
Posts: 2
Arrow rsync problem - space character in filename

I have a freebsd box with a smb connection to a Windows server - I use rsync to copy specific directories, and files, between the two.

The problem is the Windows box has files with space characters in their filenames and rsync fails to copy these. Reading the documentation of rsync it appears it uses the space character as a delimiter.

Has anyone solved this problem? Another person suggested I take the output generated from this script and use awk to recursively call cp "filename with space" location - problem is I am new to Unix and have no idea how I would do this.

Any thoughts (and especially examples) would be greatly appreciated.

Tom
  #2 (permalink)  
Old 07-04-2004
dkaplowitz dkaplowitz is offline
Registered User
  
 

Join Date: Jun 2004
Location: ~Philadelphia
Posts: 63
Can you post the command you're running to rsync these files? (And I'm assuming you're using rsync on FreeBSD and not one on Cygwin on Windows or something, but if I'm wrong post that too). I personally haven't encountered this problem using rsync from one type of UNIX box to another, so, assuming you're not using some strange switch, I'm wondering if there's some other problem causing this.
  #3 (permalink)  
Old 07-04-2004
chief2 chief2 is offline
Registered User
  
 

Join Date: Jul 2004
Posts: 2
Thanks dkaplowitz for your reply, here is the command I am executing.

/usr/local/bin/rsync -rz --delete-excluded --delete-after --include=subdir/ --exclude-from=/mnt/hosting/website/utility/mirror/excludeAll_CO.txt /mnt/hosting/website/SAB/ /mnt/hosting/website/data/SAB/sub/

Cheers.
  #4 (permalink)  
Old 09-24-2004
solea solea is offline
Registered User
  
 

Join Date: Aug 2004
Location: vernon-fr
Posts: 28
Try the archive mode (rsync -a) this should solve your problem.
Good luck
Closed Thread

Bookmarks

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 08: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