Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > unison file names problem

unison file names problem
Thread Tools
Fresh-Faced Recruit
Join Date: Sep 2000
Location: flanders,nj,usa
Status: Offline
Reply With Quote
Jul 23, 2003, 07:06 AM
 
I use unison to replicate a directory from the LAN at work to my TiBook's hard drive. Mostly it works extremely well, but I've had some problems configuring it.

Basically, I can't seem to figure out how to specify a root directory that contains spaces. I've tried various ways of quoting (single and double quotes, backslashes) to no avail. Can any one tell me how to set the root directory to "/this is the root/directory?"

For now, I'm working around the problem by using mount_smbfs to mount the share, and I have a symbolic link (with no spaces) to the directory I want to use as the root. This mainly works, but if I happen to "bump into" the symbolic link, by opening the directory that contains it in the Finder, for example, Mac OS X tries to mount the link. If the share isn't available, it hangs for a long time. Is there any way to prevent the hang?
     
Fresh-Faced Recruit
Join Date: Apr 2002
Status: Offline
Reply With Quote
Jul 23, 2003, 10:52 AM
 
Try:

/this\ is\ the\ root/directory

BTW I am not familiar with unison. is it a CLI programme?
     
spam  (op)
Fresh-Faced Recruit
Join Date: Sep 2000
Location: flanders,nj,usa
Status: Offline
Reply With Quote
Jul 23, 2003, 11:31 AM
 
Originally posted by solaris:
Try:

/this\ is\ the\ root/directory

BTW I am not familiar with unison. is it a CLI programme?
As I mentioned, I've tried the standard Unix quoting methods, including backslashes.

Yes, Unison is a command-line file synchronization program. It's really a great program, except that I can't figure out this one little problem.
     
Senior User
Join Date: Jan 2001
Location: Mahwah, NJ USA
Status: Offline
Reply With Quote
Jul 23, 2003, 02:18 PM
 
Have you looked at rsync? I think there is a version that will handle the extra HFS+ forks also. (I wish those were gone already).
-DU-...etc...
     
   
Thread Tools
Forum Links
Forum 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
Top
Privacy Policy
All times are GMT -5. The time now is 08:21 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2