David Coyle | 1 Jun 2010 01:10

Re: Mac OSX Automation

Perfect, problem solved and things are running smoothly now.

Awesome piece of software by the way does exactly what is expected  
with minimal fuss and bother.

Kind regards,

David

On 31 May 2010, at 22:52, Jerome Vouillon <Jerome.Vouillon <at> pps.jussieu.fr 
 > wrote:

> Hi,
>
> On Mon, May 31, 2010 at 10:12:47PM +0100, David Coyle wrote:
>> I have successfully setup a unison sync and I am now trying to
>> automate it via Automator on Mac OS X.
> [...]
>> But when I run the same via an Automator script I get the following,
>> which I assume means that changes have been detected:
> [...]
>> "\\ 03 Eminem ft Dido/The Marshall Mat...4EA4-BB8E-F69E7231AC07}
>> _Large.jpg
>> | Bob Dylan/Desire/1-05 Oh, Sister.mp3
>> | Kate Bush/Aerial/Prelude 1.mp3
>> / Moby/Disk 1/AlbumArt_{13AC1730-CE48-449D-A1BF-BEAF5E8FB420} 
>> _Small.jpg
>> / Queen/News Of The World/03 Sheer Heart Attack.MP3
> [...]
>
(Continue reading)

Ben Stover | 1 Jun 2010 18:47
Picon
Favicon

Ignore patterns as wildcards with "*" or not?

Assume I want to run Unison and let it ignore subdirectory tree beginning with folder "aaa\"

Do I have to write

..... -ignore *aaa*

or is it sufficient to write

... -ignore aaa

Ben

------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/unison-users/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/unison-users/join
    (Yahoo! ID required)

<*> To change settings via email:
    unison-users-digest <at> yahoogroups.com 
    unison-users-fullfeatured <at> yahoogroups.com

(Continue reading)

Michael Bernstein | 1 Jun 2010 18:57
Picon
Favicon

Re: Unicode filename "not encoded in Unicode"

Fantastic, you were right.  The error message led me to believe that the non-unicode file was on my local machine, but it was in fact on the Ubuntu remote machine.  Removing the non-unicode files from the remote machine cleared things up.
- Michael

On Mon, May 31, 2010 at 5:27 PM, Jerome Vouillon <Jerome.Vouillon <at> pps.jussieu.fr> wrote:
On Sat, May 29, 2010 at 09:56:59PM -0400, Michael Bernstein wrote:
> I recently updated Unison to the most recent beta version on my Windows and
> Ubuntu machines. They're running Unison 2.40.16, and the Windows machines
> are 64-bit Windows 7.
>
> I've been having trouble getting my Windows machine to synchronize on files
> that have unicode names.  For example, on a file called µ-survey draft
> 1.docx, I get an error like:
>
> error            Collabio/MSR-Bernstein/Twitch Computing/�-survey
> draft 1.docx
> The file name is not encoded in Unicode.  (File
> 'Collabio/MSR-Bernstein/Twitch C
> omputing/�-survey draft 1.docx')
>
> This happens for every file with a Unicode filename.  Kind of ironic that
> the filenames with unicode are the filenames Unison doesn't think are
> encoded in Unicode.

These are filenames with non-ASCII characters.  This does not mean
that they are encoded in Unicode on the Ubuntu machines.  In
particular, if the files were transferred by a previous version of
Unison, the Windows-1252 encoding (a superset of ISO 8859-1) would
have been used.

> Has anyone else seen this behavior, or know how to fix it?

If the replicas were synchronized before you switched to the new
version of Unison, Unison should have performed new copies of these
files with Unicode encoded filenames from the Windows machines to the
Ubuntu machines.  So, you can probably just remove the files with
badly encoded filenames from the Ubuntu machines.  (You should check
you have indeed two copies of these files, and make sure you remove
the right copy.)

You can also run Unison in backward compatible mode by adding
"unicode = false" to your profile.  But this is not recommended if you
want to access these files from Ubuntu or have any file whose name
cannot be encoded in the Windows-1252 character set.

-- Jerome



__._,_.___

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___
Ben Stover | 1 Jun 2010 18:56
Picon
Favicon

Uni-directional update (clone) possible with Unison?

Normally I would like to sync a first dirtree with a second dirtree in a bi-directional way.
So Unison is fine here..

Sometimes however I want a uni-directional snyc.

That means dirtree2 should be a completely Clone of dirtree1 regardsless wether there are newer files or
subfolders  in dirtree2 or not

How can I tell Unison to perform such an "clone" operation (instead of bidrect.sync) ?

ben

------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/unison-users/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/unison-users/join
    (Yahoo! ID required)

<*> To change settings via email:
    unison-users-digest <at> yahoogroups.com 
    unison-users-fullfeatured <at> yahoogroups.com

<*> To unsubscribe from this group, send an email to:
    unison-users-unsubscribe <at> yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

Alan Schmitt | 2 Jun 2010 12:24

Re: Uni-directional update (clone) possible with Unison?

On 1 juin 2010, at 18:56, Ben Stover wrote:

> Normally I would like to sync a first dirtree with a second dirtree in a bi-directional way.
> So Unison is fine here..
> 
> Sometimes however I want a uni-directional snyc.
> 
> That means dirtree2 should be a completely Clone of dirtree1 regardsless wether there are newer files or
subfolders  in dirtree2 or not
> 
> How can I tell Unison to perform such an "clone" operation (instead of bidrect.sync) ?

You should look at the force option in the Unison manual.

Hope this helps,

Alan

------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/unison-users/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/unison-users/join
    (Yahoo! ID required)

<*> To change settings via email:
    unison-users-digest <at> yahoogroups.com 
    unison-users-fullfeatured <at> yahoogroups.com

<*> To unsubscribe from this group, send an email to:
    unison-users-unsubscribe <at> yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

Alan Schmitt | 2 Jun 2010 12:26

Re: Ignore patterns as wildcards with "*" or not?

On 1 juin 2010, at 18:47, Ben Stover wrote:

> Assume I want to run Unison and let it ignore subdirectory tree beginning with folder "aaa\"
> 
> Do I have to write
> 
> ..... -ignore *aaa*
> 
> or is it sufficient to write
> 
> ... -ignore aaa

The second should be sufficient (but I don't know the syntax for the command line; in a profile I'd put a line
ignore = Path aaa
and that should work).

Hope this helps,

Alan

------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/unison-users/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/unison-users/join
    (Yahoo! ID required)

<*> To change settings via email:
    unison-users-digest <at> yahoogroups.com 
    unison-users-fullfeatured <at> yahoogroups.com

<*> To unsubscribe from this group, send an email to:
    unison-users-unsubscribe <at> yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

Kenny Clement | 2 Jun 2010 15:27
Picon
Gravatar

Force replica but don't allow deletes?

Hello,

As the subjects says, I'm trying to do a 'sync' where I force the  
server replica.
However, if the file exists locally, but not on the server, I don't  
want unison to delete the file.

Is there an option in unison so that it doesn't delete files?

The unison sync is part of a script, using Path statements (and the  
batch setting).
So I'm actually doing a sync stating sync THOSE specific paths, force  
server replica, but I don't want it to delete my files.

Is this possible?

thanks,

- Kenny

------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/unison-users/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/unison-users/join
    (Yahoo! ID required)

<*> To change settings via email:
    unison-users-digest <at> yahoogroups.com 
    unison-users-fullfeatured <at> yahoogroups.com

<*> To unsubscribe from this group, send an email to:
    unison-users-unsubscribe <at> yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

Jerome Vouillon | 2 Jun 2010 18:38
Picon

Re: Force replica but don't allow deletes?

Hello,

On Wed, Jun 02, 2010 at 03:27:03PM +0200, Kenny Clement wrote:
> As the subjects says, I'm trying to do a 'sync' where I force the  
> server replica.
> However, if the file exists locally, but not on the server, I don't  
> want unison to delete the file.

With Unison 2.40.16, you can add the following options to your profile:
   force = <remote_root>
   nodeletion = <local_root>
(where the roots are set appropriately).

-- Jerome

------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/unison-users/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/unison-users/join
    (Yahoo! ID required)

<*> To change settings via email:
    unison-users-digest <at> yahoogroups.com 
    unison-users-fullfeatured <at> yahoogroups.com

<*> To unsubscribe from this group, send an email to:
    unison-users-unsubscribe <at> yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

Scott Bohler | 2 Jun 2010 22:38

Re: Force replica but don't allow deletes?

Hi Kenny,

I recommend using -backups in order to keep such files.  This maintains both proper synchronization and files that would have been deleted

Scott Bohler



On 6/2/2010 8:27 AM, Kenny Clement wrote:
 

Hello,

As the subjects says, I'm trying to do a 'sync' where I force the
server replica.
However, if the file exists locally, but not on the server, I don't
want unison to delete the file.

Is there an option in unison so that it doesn't delete files?

The unison sync is part of a script, using Path statements (and the
batch setting).
So I'm actually doing a sync stating sync THOSE specific paths, force
server replica, but I don't want it to delete my files.

Is this possible?

thanks,

- Kenny



__._,_.___

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___
Ewout vandenBerg | 3 Jun 2010 20:18
Picon
Favicon

Adding directories to profiles on OS X

Adding directories to profiles on OS X

Thursday, 3 June, 2010 9:48


From:

"Ewout vandenBerg" <vandenberg_ewout <at> yahoo.co.uk>



To:

unison-users <at> groups.yahoo.com


Hi,


I am setting up unison to synchronize my MacBook and iMac (both running OS X), and to create backups on a mounted network filesystem.


A problem arises with the synchronization between my files on the iMac and those on the mounted network filesystem. I tried to incrementally set up a profile so I can test small steps. However, it seems that the new directories in the profile are not checked. If I run unison with the profile it reports that there are no changes to be made. On the other hand, when I run unison on the source and destination directories themselves things get synchronized properly.


Any suggestions on how to get unison to recognize these new directories?


Another question is why unison complains about the non-existence of directory x in either of the copies when the following lines appear in the profile, in the first sync. run:

> path = x/y

> path = x/z

I had to manually create the x directory in the target copy before unison would work. Perhaps this is related to why the updates now fail?


Thanks,


Ewout





__._,_.___

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___

Gmane