Dan Christensen | 1 Jul 2011 04:42
Picon

Re: running unison in bash script

İbrahim Ercan <ibrahim.ercan <at> engineer.com> writes:

> But when I write it like below it says "unison: Garbled argument -ignore." and it doesn't work
>
> a="-ignore=Regex dir3"
> b="-ignore=Regex dir4"
> e="$a $b"
> unison dir1 dir2 -batch -force dir1 -confirmbigdel=false "$e"
>
> Is there any way to fix that problem?

Try removing the quotes around $e in the last line...  The quotes
tell the shell to interpret all of $e as one argument.

Dan

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

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)

(Continue reading)

Russel Winder | 4 Jul 2011 16:28
Picon
Gravatar

Unison, Gnome 2, and Gnome 3

I am currently using Unison between Debian Testing server and Debian
Testing and Mac OS X clients.  Debian Testing is now slowly moving from
Gnome 2 to Gnome 3.  Has anyone any experience of compiling Unison for
Gnome 3.  Does it go without a hitch or is it going to lead to some
work?

Thanks.

--

-- 
Russel.
=============================================================================
Dr Russel Winder      t: +44 20 7585 2200   voip: sip:russel.winder <at> ekiga.net
41 Buckmaster Road    m: +44 7770 465 077   xmpp: russel <at> russel.org.uk
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder
İbrahim Ercan | 6 Jul 2011 07:48

How to make unison create directory if it is not exist

Hi
Assume I have a unison command like that

unison -ui text /root/dir1/dir2/dir3/ ssh://somehost//root/dir1/dir2/dir3 -batch -force=/root/dir1/dir2/dir3 -group -owner

this code fail if dir1 or dir2 or dir3 do not exist on somehost. Is there any option to make unison create directory?
Thank you...
--
İbrahim Ercan
Gsm: 0 505 608 24 37


__._,_.___

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

__,_._,___
Nicholas Helps | 6 Jul 2011 10:28
Picon
Favicon

Re: How to make unison create directory if it is not exist

Hi

My understanding is that a root is the root of what you want to sync. As
such it is not logical for any part of the root uri not to exist since
then Unison cannot know at what level in the directory structure to
start the sync. What you need to do is choose a higher level directory
as the root. e.g. dir1. Doing that will then allow Unison to createthe
missing directories since they within the root that does exist. I
appreciate that this may not be what you want but it is the only that
Unison or any other application can work.

*****************************************************

Dr. N.R. Helps
Medical Research Council Protein Phosphorylation Unit
College of Life Sciences
MSI/WTB/JBC Complex
University of Dundee
Dundee
DD1 5EH
Scotland

t: 44 (0)1382 384745 (office)
t: 44 (0)1382 388019 (lab)
f: 44 (0)1382 388729
e: n.r.helps <at> dundee.ac.uk
w: http://www.dnaseq.co.uk/
w: http://www.ppu.mrc.ac.uk

This email may have a PROTECTIVE MARKING, for an explanation please see:
http://www.mrc.ac.uk/About/Informationandstandards/Documentmarking/index.htm

****************************************************

>>> İbrahim Ercan<ibrahim.ercan <at> engineer.com> 07/06/11 09:24 AM >>>
Hi
Assume I have a unison command like that

unison -ui text /root/dir1/dir2/dir3/
ssh://somehost//root/dir1/dir2/dir3-batch -force=/root/dir1/dir2/dir3
-group -owner

this code fail if dir1 or dir2 or dir3 do not exist on somehost. Is
there
any option to make unison create directory?
Thank you...
-- 
*İbrahim Ercan
* *Gsm: 0 505 608 24 37*

************************************************************
Please consider the environment. Do you really need to print this email?

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

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/

Benjamin C. Pierce | 6 Jul 2011 14:13
Favicon

Re: Re: Feature request: Option to disable "ignore one hour time difference"

OK, request is noted.

For the moment, if you're willing to recompile (it's pretty easy), you can make yourself a custom version
with this behavior disabled.  The line to change is in props.ml:

(* Accept one hour differences and one second differences *)
let possible_deltas =
  [ -3601L; 3601L; -3600L; 3600L; -3599L; 3599L; -1L; 1L; 0L ]

   - Benjamin

On Jun 29, 2011, at 11:02 PM, Dan Christensen wrote:

> [Following up to a message from 2009...]
> 
> There's a firefox extension called lazarus that seems to save a
> large sqlite file exactly once per hour, and not change the length.
> When the same file is then changed at the other end, unison spends
> time transferring a large amount of data and then fails saying that
> the remote version has changed. 
> 
> So I'd like to second the request that the 'one hour different'
> behaviour be configurable.  Or could it be left on but made safe?
> For example, if unison notices a one hour difference, it could compute a
> hash to really check whether the file has changed (even when fastcheck
> is true).
> 
> Dan
> 
> Benjamin Pierce <bcpierce <at> cis.upenn.edu> writes:
> 
>> I suppose we could put this behavior on a switch, but is it really a  
>> big deal?  Note that a file will be judged not to have changed only if  
>> its timestamp is exactly one hour different (to the second) *and* its  
>> length is the same.
>> 
>>     - Benjamin
>> 
>> On Dec 22, 2009, at 7:52 AM, garoto_burns wrote:
>> 
>>> Hello.
>>> 
>>> I love Unison and it helps me a lot, but there is a big problem with  
>>> the last update.
>>> 
>>> So I beg to the developers: Please! Add an option to choose if the  
>>> user wants to ignore one hour difference or not.
> 
> 
> 
> ------------------------------------
> 
> Yahoo! Groups Links
> 
> 
> 

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

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/

reynolight | 7 Jul 2011 19:20

Fatal German Unicode again [1 Attachment]

<*>[Attachment(s) from reynolight included below]

Hi all,

using Version 2.40.61 on the Win XP commandline, I have recently posted
my hustle with German Umlaute in filenames.

Apparently, nobody else here has the same issue, so I tried it again.
The result is attached as a .png screenshot, just to be sure, these
funny Umlaute are shown exactly as intended.

The result is, as soon as a filename in one replica contains German
Umlaute, unison throws a "permission denied" error, when it comes to
that file. No matter, if -unicode true is attached as a parameter, or not.

Maybe it's interesting, how I have configured my commandline window. I
usually open it via shortcut as

C:\WINDOWS\system32\cmd.exe /K chcp 1252

I have no idea at all, if this could influence the issue or not. Any
help appreciated anyway.

Reyno

<*>Attachment(s) from reynolight:

<*> 1 of 1 Photo(s)
http://groups.yahoo.com/group/unison-users/attachments/folder/767614776/item/list 
  <*> Unison-Screenshot.png

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

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/

reynolight | 7 Jul 2011 23:41

Re: Fatal German Unicode again

Seb, you saved my night. Sometimes only a blind flight helps. I just
played around with some of your settings, et voila! If I am using two
parameters, everything is alright. To be specific:

...unison...exe repA repB -unison true -> "permission denied"

...unison...exe repA repB -unison true -showarchive -> great!

...unison...exe repA repB -unison true -confirmbigdeletes -> great!

My batch script shows, that I am already calling Unison with several
parameters. I will have to guess, which combination delivers. The
headlines of my recent batch script are

set log=x:\bat\sync.log
set usn=g:\portable\unison\Unison-2.40.61-Unicode.exe
set opt=-logfile %log% -auto -fastcheck true -perms 0

Maybe somebody on the list can verify, if this is bug in the commandline
interface of Unison?!

Reyno

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

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/

Urbaniak, Sebastian | 8 Jul 2011 00:38
Favicon

RE: Fatal German Unicode again

Glad I could help     :D
It seemed too strange that it worked over here on the same ver of binaries  but not for you.
Seb

-----Original Message-----
From: unison-users <at> yahoogroups.com [mailto:unison-users <at> yahoogroups.com] On Behalf Of reynolight
Sent: Thu, 2011-07-07 17:41
To: unison-users <at> yahoogroups.com
Subject: Re: [unison-users] Fatal German Unicode again

Seb, you saved my night. Sometimes only a blind flight helps. I just played around with some of your
settings, et voila! If I am using two parameters, everything is alright. To be specific:

...unison...exe repA repB -unison true -> "permission denied"

...unison...exe repA repB -unison true -showarchive -> great!

...unison...exe repA repB -unison true -confirmbigdeletes -> great!

My batch script shows, that I am already calling Unison with several parameters. I will have to guess, which
combination delivers. The headlines of my recent batch script are

set log=x:\bat\sync.log
set usn=g:\portable\unison\Unison-2.40.61-Unicode.exe
set opt=-logfile %log% -auto -fastcheck true -perms 0

Maybe somebody on the list can verify, if this is bug in the commandline interface of Unison?!

Reyno

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

Yahoo! Groups Links

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

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/

reynolight | 8 Jul 2011 02:02

Re: Fatal German Unicode again [1 Attachment]

<*>[Attachment(s) from reynolight included below]

Am 07.07.2011 23:41, schrieb reynolight:
> Seb, you saved my night. 
... actually, too easy and too strange to be true.

Attached is another screenshot, demonstrating the "permission denied"
error again. No matter, how I am juggling the options.

Even more strange: Now, with my little test setup, I can verify, that
the Umlaut-named files are correctly copied, as well as any other,
non-Umlaut-named files, i.e. both replicas are synced "until", despite
the error message. But in a real run, of course, this weird wrong
message breaks the sync of all subsequently following files.

Looks like no doubt, that this is a bug of Unison itself. Is there any
chance for a patch, soon?

Thanks in advance
Reyno

<*>Attachment(s) from reynolight:

<*> 1 of 1 Photo(s)
http://groups.yahoo.com/group/unison-users/attachments/folder/214134373/item/list 
  <*> Unison-Screenshot-2.png

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

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/

Benjamin C. Pierce | 8 Jul 2011 04:08
Favicon

Re: Fatal German Unicode again

It would help to know exactly where this exception is coming from.  Can you make a small test case that
generates the behavior and then run it with "-debug verbose" and post the last few hundred lines of the output?

Thanks,

    - Benjamin

On Jul 7, 2011, at 8:02 PM, reynolight wrote:

> Am 07.07.2011 23:41, schrieb reynolight:
>> Seb, you saved my night. 
> ... actually, too easy and too strange to be true.
> 
> Attached is another screenshot, demonstrating the "permission denied"
> error again. No matter, how I am juggling the options.
> 
> Even more strange: Now, with my little test setup, I can verify, that
> the Umlaut-named files are correctly copied, as well as any other,
> non-Umlaut-named files, i.e. both replicas are synced "until", despite
> the error message. But in a real run, of course, this weird wrong
> message breaks the sync of all subsequently following files.
> 
> Looks like no doubt, that this is a bug of Unison itself. Is there any
> chance for a patch, soon?
> 
> Thanks in advance
> Reyno
> 
> 
> ------------------------------------
> 
> Yahoo! Groups Links
> 
> 
> 

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

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/


Gmane