[ale] [Slightly OT] rsync problem
Michael D. Hirsch
mhirsch at nubridges.com
Tue Oct 14 09:36:30 EDT 2003
On Friday 10 October 2003 05:47 pm, Joe Knapka wrote:
> Danny Cox <danscox at mindspring.com> writes:
> > Joe,
> >
> > On Thu, 2003-10-09 at 19:16, Joe Knapka wrote:
> > > I've been using rsync to update a web site, and I've run into an odd
> > > problem. Rsync seems to always "touch" the destination files (updating
> > > their modification times to "now"), whether they've changed or
> > > not. This is a serious problem, because some of the site functionality
> > > relies on the modification times of the content files.
> >
> > Of course, rsync has a zillion options, but one thing that comes to
> > mind is: are the machine's times in sync? If not, it may be confusing
> > rsync. Also see the '-t' option. Also also check your version:
> > rsync.samba.org has released version 2.5.6.
>
> The "-t" option was what I needed. I don't know why I didn't see
> that the first five times I read the man page :-P
Is there a reason you aren't using the "-a" option? That is the archive
option which does everything I want, usually. In particular, it include
"-t", which explains why I've never had you specific symptom.
Michael
More information about the Ale
mailing list