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>

{ 6 comments }
I take it your new ride isn’t an SUV …
I take it your new ride isn’t an SUV …
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)
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)
Security is a state of mind. Viva la escort!
Security is a state of mind. Viva la escort!
Comments on this entry are closed.