v_t_long | 11 Jun 2012 23:02
Picon
Favicon

unison 2.40.65 with -times does not preserve directory modification time

Hi,

With -times, file modification time is preserved but not directory modification time. Is this expected?
Is there a way to work-around this?

I am using unison 2.40.65 on ubuntu lucid 10.04. Same version/OS for the remote server.

Thanks,
Long

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

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
(Continue reading)

Pierce Benjamin C. | 12 Jun 2012 00:05
Favicon

Re: unison 2.40.65 with -times does not preserve directory modification time

This is expected behavior and would require some work (including serious design work) to change, unfortunately.

  - Benjamin

On Jun 11, 2012, at 5:02 PM, v_t_long wrote:

> Hi,
> 
> With -times, file modification time is preserved but not directory modification time. Is this expected?
Is there a way to work-around this?
> 
> I am using unison 2.40.65 on ubuntu lucid 10.04. Same version/OS for the remote server.
> 
> Thanks,
> Long
> 
> 
> 
> ------------------------------------
> 
> Yahoo! Groups Links
> 
> 
> 

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

Yahoo! Groups Links

<*> To visit your group on the web, go to:
(Continue reading)

v_t_long | 12 Jun 2012 01:56
Picon
Favicon

Re: unison 2.40.65 with -times does not preserve directory modification time

Ah, this is unfortunate !

I was hoping to ditch rsync for unison because unison handles rename very nicely.

Then my work-around is to run rsync after unison to fix those directory modification time.

Thanks Benjamin for the very fast response.

Long

--- In unison-users <at> yahoogroups.com, "Pierce Benjamin C." <bcpierce <at> ...> wrote:
>
> This is expected behavior and would require some work (including serious design work) to change, unfortunately.
> 
>   - Benjamin
> 
> On Jun 11, 2012, at 5:02 PM, v_t_long wrote:
> 
> > Hi,
> > 
> > With -times, file modification time is preserved but not directory modification time. Is this
expected? Is there a way to work-around this?
> > 
> > I am using unison 2.40.65 on ubuntu lucid 10.04. Same version/OS for the remote server.
> > 
> > Thanks,
> > Long
> > 
> > 
> > 
(Continue reading)


Gmane