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)…
sudo port install rsync
sudo mv /usr/local/bin/rsync /usr/local/bin/rsync-tiger
sudo ln -s /opt/local/bin/rsync /usr/local/bin/rsync
</p>

I'm a partner at
{ 6 comments }
Mary 03.21.06 at 4:35 am
I take it your new ride isn’t an SUV …
Mary 03.21.06 at 4:35 am
I take it your new ride isn’t an SUV …
Jack 03.21.06 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 03.21.06 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 03.23.06 at 6:25 pm
Security is a state of mind. Viva la escort!
aArOn 03.23.06 at 6:25 pm
Security is a state of mind. Viva la escort!
Comments on this entry are closed.