![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| 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 |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
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 |
|
||||
|
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.
|
|
||||
|
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. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|