A couple of platform issues with rsync

March 19, 2006 · 6 comments

I’ve been writing scripts the past couple of days for synching things up between a few servers. I’ve wasted too much time already with 2 issues:

1. When using rsync anywhere near mounted Windows shares, always include the option -modify-window=1. This will prevent rsync from trying to copy nearly every file each time. It has something to do with the differences in how Windows stores modification times.

2. The latest OS X update to Tiger broke the –delete option. Target deletion simply doesn’t work any more. As a workaround, I’ve installed the [DarwinPorts]1 version instead.  Then I moved the broken binary out of the way and symlinked the ports version in its place. Something like this (assuming you already have DarwinPorts)…

</p>

<p>sudo port install rsync</p>

<p>sudo mv /usr/local/bin/rsync /usr/local/bin/rsync-tiger</p>

<p>sudo ln -s /opt/local/bin/rsync /usr/local/bin/rsync</p>

<p>
</p>

1: http://darwinports.opendarwin.org/

{ 6 comments }

Mary March 21, 2006 at 4:35 am

I take it your new ride isn’t an SUV

Mary March 21, 2006 at 4:35 am

I take it your new ride isn’t an SUV

Jack March 21, 2006 at 12:06 pm

I’m thinking about a Hummer H1 Alpha. No point f*cking around when it comes to safety, I always say.

(If you see me driving a new Honda Civic, just ignore it, it’s probably a rental)

Jack March 21, 2006 at 12:06 pm

I’m thinking about a Hummer H1 Alpha. No point f*cking around when it comes to safety, I always say.



(If you see me driving a new Honda Civic, just ignore it, it’s probably a rental)

aArOn March 23, 2006 at 6:25 pm

Security is a state of mind. Viva la escort!

aArOn March 23, 2006 at 6:25 pm

Security is a state of mind. Viva la escort!

Comments on this entry are closed.